Latest questions in Selenium

0 votes
1 answer

Maven project is not generating TestNG results within the test-output folder in a Selenium project

You can find the answer here. In Run ...READ MORE

Aug 30, 2020 in Selenium by Karthikeya
• 140 points
4,798 views
+1 vote
1 answer

How can I get All Text in robot framework ?

${elem} = Get WebElements ...READ MORE

Jan 29, 2020 in Selenium by Abhishek
• 160 points
11,966 views
0 votes
1 answer

How to save the content on the page (full page) using Selenium WebDriver?

Selenium isn't designed to do this, you ...READ MORE

Jun 28, 2019 in Selenium by Vaishnavi
• 1,180 points
4,367 views
0 votes
1 answer

How can you run Selenium test cases on Jenkins?

You can use recorded Selenium IDE script ...READ MORE

Jun 28, 2019 in Selenium by Vaishnavi
• 1,180 points
3,455 views
0 votes
0 answers

Which is good for automation testing? Tellurium or Selenium

 I am working on Selenium for some ...READ MORE

Jun 27, 2019 in Selenium by Surya
• 970 points
385 views
0 votes
0 answers

is there a way to Inject or execute a JavaScript onto a page before loading/ executing any other scripts on the page?

I'm using Selenium WebDriver with Python in ...READ MORE

Jun 27, 2019 in Selenium by Surya
• 970 points
2,044 views
0 votes
0 answers

In which situations Selenium webdriver couldn't find web element?

In which situations Selenium webdriver couldn't find ...READ MORE

Jun 26, 2019 in Selenium by Shalini
527 views
0 votes
1 answer

What are the main types of regex quantifiers used in Selenium Webdriver?

Hi Andrew, some of the regex quantifiers ...READ MORE

Jun 26, 2019 in Selenium by Abha
• 28,140 points
5,101 views
0 votes
1 answer

What are the different assertions or check points used in selenium test scripts?

Hey Shakti, the most common types of ...READ MORE

Jun 26, 2019 in Selenium by Abha
• 28,140 points
1,743 views
0 votes
1 answer

What are different types of Desired Capabilities methods in Selenium?

Hello Ritvik, some of the desired capabilities ...READ MORE

Jun 26, 2019 in Selenium by Yukta
548 views
0 votes
1 answer

What are desired capabilities in Selenium?

Hey Varun, Desired Capabilities are used to configure ...READ MORE

Jun 25, 2019 in Selenium by Deepak
1,285 views
0 votes
1 answer

What is actions class in Selenium Webdriver?

Hi @Kavita, Actions class is used to ...READ MORE

Jun 25, 2019 in Selenium by Rumani
630 views
+1 vote
1 answer

What are the different attributes for @Test annotation in testNG?

Hey @Iqbal, some of the most common ...READ MORE

Jun 25, 2019 in Selenium by Gulshan
11,390 views
0 votes
1 answer

What is the difference between @BeforeClass and @BeforeTest?

Hi Mithun, @BeforeTest method runs before any ...READ MORE

Jun 25, 2019 in Selenium by Pragya
5,075 views
0 votes
1 answer

How to check all checkboxes on a webpage using Selenium?

Hey Jenny, to check all the checkboxes ...READ MORE

Jun 26, 2019 in Selenium by Suraj
4,828 views
+1 vote
4 answers

How to get typed text from a textbox by using Selenium Webdriver?

Hey Ashmita, to get the typed text ...READ MORE

Jun 25, 2019 in Selenium by Abha
• 28,140 points
38,324 views
0 votes
1 answer

What is the super interface of webdriver in Selenium Webdriver?

Hi Dushyant, SearchContext is the super interface of ...READ MORE

Jun 25, 2019 in Selenium by Abha
• 28,140 points
16,746 views
0 votes
1 answer

How do you handle https website in selenium?

Hi Namit, you can handle https websites ...READ MORE

Jun 25, 2019 in Selenium by Anvi
• 14,150 points
997 views
0 votes
1 answer

What are the ways of scrolling webpage to the bottom of the page in Selenium Webdriver?

Hi @Puneet, there are a few ways ...READ MORE

Jun 25, 2019 in Selenium by Patrik
1,907 views
–1 vote
1 answer

How can I perform Select All method on a webpage using Selenium Webdriver?

@Kashish, normally we use Ctrl+A to perform ...READ MORE

Jun 25, 2019 in Selenium by Scott
7,384 views
0 votes
1 answer

How can I handle multiple keyboard keys using Selenium Webdriver?

Hey Jasmine, there are a few ways ...READ MORE

Jun 25, 2019 in Selenium by Raj
33,932 views
0 votes
1 answer

how to solve " java.lang.IllegalStateException"?

Include the below line in your code ...READ MORE

Jun 24, 2019 in Selenium by John
4,819 views
0 votes
1 answer

How to switch back from a frame to default in Selenium Webdriver?

Hey Rupesh, to switch back from a ...READ MORE

Jun 25, 2019 in Selenium by Anvi
• 14,150 points
12,110 views
0 votes
1 answer

What is the command to press enter inside the HTML textarea using Selenium Webdriver?

Hey Akash, Selenium provides sendKeys() method to ...READ MORE

Jun 25, 2019 in Selenium by Anvi
• 14,150 points
1,483 views
0 votes
1 answer

How to type text in a new line inside a text area using Selenium Webdriver?

Hey Unnati, '\n' is usually used to type text ...READ MORE

Jun 25, 2019 in Selenium by Abha
• 28,140 points
13,238 views
0 votes
1 answer

Is there any method to reset the HTML text box in Selenium Webdriver?

Hey Anushka, you can use clear() function to ...READ MORE

Jun 25, 2019 in Selenium by Abha
• 28,140 points
1,628 views
0 votes
1 answer

Why do we create a reference variable of type Webdriver, not the actual browser type?

Hey Karan, we create a reference variable ...READ MORE

Jun 22, 2019 in Selenium by Abha
• 28,140 points
2,425 views
0 votes
1 answer

What is the primary difference between the XPath and CSS selector?

Hello Ushma, the primary difference between XPath ...READ MORE

Jun 24, 2019 in Selenium by Anvi
• 14,150 points

edited Oct 27, 2023 by Khan Sarfaraz 32,472 views
0 votes
1 answer

How ID and Class can be used as a CSS Selector?

Hey Bruce, to identify a web element ...READ MORE

Jun 22, 2019 in Selenium by Abha
• 28,140 points
587 views
–1 vote
1 answer

How can I access the parent of a node with XPath?

Hey Hemant, we can use the double ...READ MORE

Jun 24, 2019 in Selenium by Anvi
• 14,150 points
12,932 views
0 votes
1 answer

Is there any way of locating elements based on the text in XPath?

Hey Angad, for locating elements based on ...READ MORE

Jun 24, 2019 in Selenium by Ishad
565 views
0 votes
1 answer

How to locate an element by partially comparing its attributes in XPath?

Hey Lakshya, you can locate an element ...READ MORE

Jun 24, 2019 in Selenium by Abha
• 28,140 points
4,720 views
0 votes
1 answer

Which of the locators should be used when?

Hi @Kapil, you should use ID or ...READ MORE

Jun 24, 2019 in Selenium by Kabir
397 views
0 votes
1 answer

How MaxSessions are different from MaxInstances properties of Selenium Grid?

Hello Palak, MaxInstances is the no. of browser ...READ MORE

Jun 24, 2019 in Selenium by Anvi
• 14,150 points
4,534 views
0 votes
1 answer

Which programming languages are supported by selenium webdriver to write test cases?

Hey Aman, following programming languages are supported ...READ MORE

Jun 24, 2019 in Selenium by Abha
• 28,140 points
16,552 views
0 votes
2 answers

I am trying to run the below code but java.lang.Illegalstate Exception is coming

You are facing this error because while ...READ MORE

Jun 21, 2019 in Selenium by Abha
• 28,140 points
798 views
0 votes
1 answer

Which automation tools can be integrated with Selenium to achieve Continuous testing?

Hi Harshit, Selenium can be integrated with  automation tools ...READ MORE

Jun 21, 2019 in Selenium by Abha
• 28,140 points
1,556 views
0 votes
1 answer

Can anyone suggest some of the automation testing tool which are used for Non-Functional Automation?

Hello Chandni, some of the automation tools ...READ MORE

Jun 21, 2019 in Selenium by Anvi
• 14,150 points
451 views
0 votes
1 answer

What are commonly used Automation Testing tools that are used for Functional Automation?

Hey Balraj, most commonly used Automation tools ...READ MORE

Jun 21, 2019 in Selenium by Abha
• 28,140 points
696 views
0 votes
1 answer

Is it possible to stop page loading on browser with Selenium Webdriver?

Hello Kasim, yes it is possible to ...READ MORE

Jun 21, 2019 in Selenium by Anvi
• 14,150 points
6,871 views
0 votes
1 answer

How can I get Webdriver Session ID in Selenium?

Hey Nargis, you can use following methods ...READ MORE

Jun 21, 2019 in Selenium by Abha
• 28,140 points
13,137 views
0 votes
1 answer

Which all values can be accepted as attribute for parallel execution of test scripts?

Hi Suman, If I want to run ...READ MORE

Jun 20, 2019 in Selenium by Abhilasha
2,935 views
0 votes
1 answer

How to do session handling in Selenium Webdriver?

Hey Lalita, you can perform following steps ...READ MORE

Jun 20, 2019 in Selenium by Subhash
11,041 views
0 votes
1 answer

What is the scope for Selenium in IT industry?

Hey Kundan, as of now selenium is ...READ MORE

Jun 20, 2019 in Selenium by Roshani
1,470 views
0 votes
3 answers

How to print text from a list of all web elements with same class name in Selenium?

Try using List <WebElement> to access all similar elements ...READ MORE

Dec 16, 2020 in Selenium by Roshni
• 10,520 points
82,135 views
0 votes
1 answer

Locate particular link text among multiple match results while locating web elements in Selenium Webdriver?

Hey Yash, if you want to locate ...READ MORE

Jun 20, 2019 in Selenium by Pratibha
2,712 views
0 votes
1 answer

What are the different ways of invoking TestNG?

@Jeetu, TestNG can be invoked in following ...READ MORE

Jun 19, 2019 in Selenium by Abha
• 28,140 points
2,780 views
0 votes
1 answer

Can I run TestNG using Command Prompt?

Hey Himanshi, you can run testNG with command ...READ MORE

Jun 20, 2019 in Selenium by Abha
• 28,140 points
3,636 views
0 votes
1 answer

How can I skip a @Test method from execution in TestNG?

Hey Darsh, you can skip a @Test ...READ MORE

Jun 20, 2019 in Selenium by Abha
• 28,140 points
2,091 views
0 votes
1 answer

How to exclude a particular test group from a test case execution?

Hey Catherine, you can use exclude tag in the ...READ MORE

Jun 20, 2019 in Selenium by Abha
• 28,140 points
1,834 views