Most answered questions in Selenium

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,862 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,835 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
1,011 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,922 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,405 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
34,032 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,836 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,126 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,507 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,293 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,639 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,452 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,497 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
599 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
13,036 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
575 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,748 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
406 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,572 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,683 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,576 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
459 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
708 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,889 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,170 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,949 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,079 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,481 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,746 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,808 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,651 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,106 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,853 views
0 votes
1 answer

Is it possible to exclude a particular test method from a test case execution?

Hello Tarang, you can exclude a particular ...READ MORE

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

What is exception test in testng?

@Zubin, TestNG gives an option for tracing the ...READ MORE

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

Benefits of using JUnit Error Collector

Hi Disha, some of the benefits of ...READ MORE

Jun 19, 2019 in Selenium by anonymous
• 14,150 points
495 views
0 votes
1 answer

What is the use of @Rule annotation in JUnit?

Hello Sarfaraz, JUnit provides special kind of handling ...READ MORE

Jun 19, 2019 in Selenium by anonymous
• 28,140 points
1,364 views
0 votes
1 answer

What is error collector in JUnit and why it is used?

Hey Ekanshi, Error collector collects all error objects ...READ MORE

Jun 19, 2019 in Selenium by anonymous
• 28,140 points
1,441 views
0 votes
1 answer

How can I store data into a cookie using Selenium Webdriver?

Hey Abhilasha, we can load a website ...READ MORE

Jun 19, 2019 in Selenium by Anvi
• 14,150 points
2,787 views
0 votes
1 answer

What are the commonly used Selenium Webdriver commands to manage cookies?

Hi Nisha, some of the most commonly ...READ MORE

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

What does the test timeout mean in TestNG?

Hi Wahida, test timeout represents the maximum ...READ MORE

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

What is threadPoolSize used for @Test methods in TestNG?

Hi Rahul, threadPoolSize tells the TestNG to form a ...READ MORE

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

What is the use of invocationcount in TestNG?

Hey Owen, The invocationcount attribute tells how many ...READ MORE

Jun 19, 2019 in Selenium by anonymous
• 28,140 points
9,141 views
0 votes
1 answer

How to write regular expression In testng.xml file to search for specific keyword.

Hi Joginder, you can write regular expression ...READ MORE

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

How reports can be produced in different ways for TestNG results?

Hey Suraj, TestNG offers two ways to produce ...READ MORE

Jun 19, 2019 in Selenium by anonymous
• 14,150 points
1,540 views
0 votes
1 answer

related to href

Hey Himanshu, as far as I can ...READ MORE

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

Is there any way to get Firefox working with Selenium WebDriver on Mac OSX

You can try calling the webdriver with ...READ MORE

Jun 19, 2019 in Selenium by Anvi
• 14,150 points
2,684 views
0 votes
1 answer

How to get the select options using Selenium WebDriver in Java

Hey there! You should be able to get ...READ MORE

Jun 14, 2019 in Selenium by Surya
• 970 points
4,465 views
0 votes
1 answer

How can I ignore all test methods using @ignore annotation in JUnit?

@Gavish, if you want to ignore all ...READ MORE

Jun 13, 2019 in Selenium by Tisha
3,427 views
0 votes
1 answer

How can I run test cases in parallel using TestNG in selenium webdriver?

Hi Sobia, for running test cases in ...READ MORE

Jun 12, 2019 in Selenium by Abha
• 28,140 points
2,185 views