Most voted questions in Selenium

0 votes
1 answer

Is there a way to handle checkboxes and radio buttons using Python Selenium?

Hi Jessica, you can try these lines ...READ MORE

Jul 23, 2019 in Selenium by Anvi
• 14,150 points
1,797 views
0 votes
1 answer

In what ways we can handle dropdown menu in a page using Selenium with Python?

Hello Tushar, if by handling Dropdown you ...READ MORE

Jul 24, 2019 in Selenium by Abha
• 28,140 points
2,257 views
0 votes
3 answers

How to close active/current tab without closing the browser in Selenium-Python?

While doing stuff with selenium multiple browsers ...READ MORE

Dec 14, 2020 in Selenium by Roshni
• 10,440 points
92,205 views
0 votes
1 answer

How can I perform mouse hover action in Selenium-Python?

Hey Payal, use the code snippet shown ...READ MORE

Jul 24, 2019 in Selenium by Abha
• 28,140 points
17,798 views
0 votes
1 answer

How to capture source code of a webpage in Selenium using Python?

Hi Hansika, you can capture the source ...READ MORE

Jul 24, 2019 in Selenium by Anvi
• 14,150 points
2,718 views
0 votes
0 answers

Execute two separate test cases in the same browser instance using TestNG xml file

I have two testcases in two separate ...READ MORE

Jul 23, 2019 in Selenium by Jimmy
• 130 points
2,914 views
0 votes
1 answer

How can I return value from javascript code in Selenium Webdriver?

Hey Kundan, you can use the return ...READ MORE

Jul 23, 2019 in Selenium by Abha
• 28,140 points
5,336 views
0 votes
1 answer

How to get details of a webpage like url, title name, domain name etc using Javascript Executor?

Hey Nitya, you can use executeScript() method ...READ MORE

Jul 23, 2019 in Selenium by Abha
• 28,140 points
12,561 views
0 votes
1 answer

How javascript code can be executed in Selenium Webdriver?

Hey Veena, execute_script is used to execute ...READ MORE

Jul 23, 2019 in Selenium by Anvi
• 14,150 points
1,096 views
0 votes
1 answer

Is there any alternate way of refreshing a web page other than refresh() method in Selenium?

HI Parineeti, to refresh a webpage, we ...READ MORE

Jul 23, 2019 in Selenium by Anvi
• 14,150 points
2,924 views
0 votes
1 answer

How can I get meta-description of a webpage using Selenium Webdriver?

Hey Sonal, to get the meta-description of ...READ MORE

Jul 23, 2019 in Selenium by Abha
• 28,140 points
6,816 views
0 votes
1 answer

How to create Custom wait library for handling synchronization in Selenium Webdriver?

Hi Sushmita, to solve Synchronization issue in ...READ MORE

Jul 23, 2019 in Selenium by Anvi
• 14,150 points
2,373 views
0 votes
1 answer

Can anyone suggest how can I use Explicit wait in my automation test cases using Webdriver?

Hi Inder, you can use Explicit wait ...READ MORE

Jul 23, 2019 in Selenium by Abha
1,164 views
0 votes
1 answer

I want to implement Fluent Wait in my test script, but I am new to Selenium and don't know much about Waits. Can anyone please help?

Hey Indu, Fluent wait is a class which ...READ MORE

Jul 23, 2019 in Selenium by Abha
• 28,140 points
2,538 views
0 votes
1 answer

How to automate radio button and checkbox on a webpage in Selenium Webdriver?

Hey Yashmita, following code snippet automates the ...READ MORE

Jul 23, 2019 in Selenium by Anvi
• 14,150 points
2,645 views
0 votes
1 answer

How can I perform multi-browser testing using Selenium TestNG?

Hi Nutan, you can use TestNG to ...READ MORE

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

What are the different methods (APIs) provided by Selenium Webdriver to take screenshot of a webpage?

Hey Hemant, Selenium Webdriver provides 3 different ...READ MORE

Jul 22, 2019 in Selenium by Abha
• 28,140 points
3,532 views
0 votes
1 answer

How can I parallely execute automation tests using Selenium Grid?

Hello Urmila, to parallelly execute automation tests ...READ MORE

Jul 22, 2019 in Selenium by Anvi
• 14,150 points
1,059 views
0 votes
1 answer

How to measure page load time of a website using Selenium-Python?

Hello Damodar, following test script allows you ...READ MORE

Jul 22, 2019 in Selenium by Anvi
• 14,150 points
12,424 views
0 votes
1 answer

How to switch between tabs on a browser and get titles of each tab using Selenium?

Hi Abhimanyu, you can use following code ...READ MORE

Jul 22, 2019 in Selenium by Abha
• 28,140 points
10,766 views
0 votes
2 answers

How to open a new tab in existing browser window using Javascript Executor?

Hi Meenal, you can use executeScript() method ...READ MORE

Jul 22, 2019 in Selenium by Abha
• 28,140 points

edited Oct 7, 2021 by Sarfaraz 11,776 views
0 votes
0 answers

How to run Selenium standalone server 2 on Windows XP?

Could you please help me with running ...READ MORE

Jul 22, 2019 in Selenium by Vaishnavi
• 1,180 points
1,236 views
0 votes
0 answers

I am facing the same Exception in thread "main" java.lang.IllegalStateException error. can anyone help me [closed]

Jul 20, 2019 in Selenium by anonymous

closed Jul 22, 2019 by Abha 1,555 views
0 votes
1 answer

How to handle Bootstrap dropdown in Selenium Webdriver?

Hi Neeru, Bootstrap dropdown isn't like traditional ...READ MORE

Jul 19, 2019 in Selenium by Anvi
• 14,150 points
5,740 views
0 votes
1 answer

How can I capture Tooltip in Selenium Webdriver?

Hey Diljeet, following test script allows you ...READ MORE

Jul 19, 2019 in Selenium by Anvi
• 14,150 points
2,052 views
0 votes
2 answers

How can I verify Error Message on a webpage using Selenium Webdriver?

We can verify error messages on a ...READ MORE

May 31, 2020 in Selenium by divyang
• 140 points
17,841 views
0 votes
1 answer

How to start Firefox browser on Mac using Selenium Webdriver?

Hey Tom, you can use following commands ...READ MORE

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

How can firefox driver be installed and configured on MacOS?

Hi Urvashi, follow these steps to download ...READ MORE

Jul 18, 2019 in Selenium by Anvi
• 14,150 points
4,641 views
0 votes
1 answer

How to launch Chrome browser using Selenium Webdriver on MAC?

Hey Lucas, you can launch chrome browser ...READ MORE

Jul 18, 2019 in Selenium by Abha
• 28,140 points
5,716 views
0 votes
4 answers

How to setup Chrome driver with Selenium on MacOS?

Hi Nushrat, In MacOs follow the steps and ...READ MORE

Aug 9, 2020 in Selenium by Shipra
80,402 views
0 votes
1 answer

How can I integrate Selenium with Maven project?

Hey Vicky, follow these steps to integrate ...READ MORE

Jul 17, 2019 in Selenium by Abha
• 28,140 points
2,709 views
0 votes
1 answer

How to download and install Maven to integrate with Selenium?

Hey Henry, follow these steps to download ...READ MORE

Jul 18, 2019 in Selenium by Abha
• 28,140 points
3,182 views
0 votes
1 answer

How to create a Base Class in Selenium and use it with test scripts?

Hi Donna, you can use following code ...READ MORE

Jul 18, 2019 in Selenium by Anvi
• 14,150 points
13,191 views
0 votes
1 answer

What is Base class in Selenium and how it works?

Hey Prashant, in Selenium Base class is the main ...READ MORE

Jul 18, 2019 in Selenium by Abha
• 28,140 points
21,810 views
0 votes
1 answer

How to install Apache Ant to configure it with Selenium Webdriver?

Hey Surbhi, you need to follow these ...READ MORE

Jul 17, 2019 in Selenium by Anvi
• 14,150 points
1,100 views
0 votes
1 answer

What are the differences between POM and PageFactory in Selenium Webdriver?

Hi Raveena, Page Object Model (POM) and ...READ MORE

Jul 17, 2019 in Selenium by Anvi
• 14,150 points
29,695 views
0 votes
1 answer

How to configure Selenium Grid with complete Hub and Node setup?

Yes it is possible to configure Selenium ...READ MORE

Jul 26, 2019 in Selenium by Karan
• 160 points
2,198 views
0 votes
1 answer

What is Apache ANT and what are its features?

Hello Deshdeepak, Ant is a Java-based Open-Source build tool ...READ MORE

Jul 17, 2019 in Selenium by Abha
• 28,140 points
1,689 views
0 votes
1 answer

How can I read numeric data from an Excel sheet using Selenium Webdriver?

Hey Jignesh, for reading numeric data from ...READ MORE

Jul 17, 2019 in Selenium by Abha
• 28,140 points
8,626 views
0 votes
1 answer

How to create an Object Repository to test facebook login in Selenium Webdriver?

Hi Kanak, to test facebook login using ...READ MORE

Jul 17, 2019 in Selenium by Anvi
• 14,150 points
2,728 views
0 votes
1 answer

How can I use Selenium in the background?

Hey there! I would suggest you try using ...READ MORE

Jul 22, 2019 in Selenium by anonymous
7,537 views
0 votes
1 answer

How can I click at the coordinates without identifying an element?

Of course, there is a way to do this. ...READ MORE

Jul 22, 2019 in Selenium by Surya
• 970 points
12,713 views
0 votes
1 answer

How to check whether the current version of my firefox browser is compatible with Selenium Webdriver current version?

Hi Pankhuri, to check the compatibility of ...READ MORE

Jul 17, 2019 in Selenium by Abha
• 28,140 points
15,857 views
0 votes
1 answer

Is Selenium Server required by Selenium WebDriver ?

Hey Numan, Selenium Server is not required by ...READ MORE

Jul 17, 2019 in Selenium by Abha
• 28,140 points
2,675 views
0 votes
1 answer

What happens if I don't create a Package and add a Class directly under the Project in Eclipse?

Hello Avantika, its not considered as a ...READ MORE

Jul 17, 2019 in Selenium by Anvi
• 14,150 points
1,984 views
0 votes
1 answer

Can anyone show how to modify an existing excel sheet using Apache POI?

Hello Prakash, to modify an existing excel ...READ MORE

Jul 17, 2019 in Selenium by Anvi
• 14,150 points
4,159 views
0 votes
1 answer

How to read test data from an excel sheet and use it to test facebook login in Selenium Webdriver?

Hi Mohan, you can use following code ...READ MORE

Jul 17, 2019 in Selenium by Abha
• 28,140 points
14,179 views
0 votes
1 answer

What are the prerequisites to configure Apache POI with Selenium?

Hey Manoj, following are the prerequisites to ...READ MORE

Jul 17, 2019 in Selenium by Abha
• 28,140 points
1,078 views
0 votes
1 answer

How can I read a CSV file in Selenium using Webdriver?

Hey Trisha, you can read a CSV ...READ MORE

Jul 17, 2019 in Selenium by Abha
• 28,140 points
13,465 views