Most answered questions in Selenium

0 votes
1 answer

How to scroll to a particular element on a webpage using selenium ruby webdriver?

Hey Disha, following piece of code worked ...READ MORE

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

How to take Screenshot of a webpage in Selenium with Ruby

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

Aug 26, 2019 in Selenium by Anvi
• 14,150 points
1,395 views
0 votes
1 answer

Facing error while using Remote webdriver with Selenium Ruby. Please help!

Hi Bhanu, you might be facing this ...READ MORE

Aug 23, 2019 in Selenium by Abha
• 28,140 points
1,549 views
0 votes
1 answer

How to run a test case on remote webdriver using ruby selenium?

Hey Dhanush, you can follow the below ...READ MORE

Aug 23, 2019 in Selenium by Abha
• 28,140 points
1,379 views
0 votes
1 answer

Can anyone please demonstrate writing a basic test in Selenium Webdriver using Ruby?

Hi Renuka, you can take help from ...READ MORE

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

How to setup Selenium with Ruby to write automation tests?

Hey Gitanjali, to setup Selenium with Ruby ...READ MORE

Oct 10, 2019 in Selenium by Abha
• 28,140 points
910 views
0 votes
1 answer

How can I run/debug pytest script using eclipse?

Hi Amish, to run/debug pytest scripts in ...READ MORE

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

What is Incremental Testing in Pytest?

Hi Ramesh, Pytest provides an Incremental Marker ...READ MORE

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

How different it is to create a fixture with Class scope instead of Session Scope in Pytest?

Hi Shankar, we use different scopes in ...READ MORE

Oct 11, 2019 in Selenium by Abha
• 28,140 points
1,518 views
0 votes
1 answer

Can anyone tell what are Parametermized Fixtures and what are its usage?

Hey Varhsa, Parameterized Fixtures are used to execute ...READ MORE

Aug 23, 2019 in Selenium by Abha
• 28,140 points
549 views
0 votes
1 answer

Is it possible to create a Pytest Fixture which can be shared with other tests?

Hi Prashashti, to create a fixture that ...READ MORE

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

What are the different Fixture Scopes in Pytest?

Hey Julia, a fixture’s scope defines how many ...READ MORE

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

What are Fixtures in Pytest and what is their importance?

Hi Kabir, Fixtures are a powerful tool ...READ MORE

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

What are the different Exit Codes while executing a Pytest code?

Hello Esha, while executing a Pytest code, ...READ MORE

Aug 22, 2019 in Selenium by Abha
• 28,140 points
1,683 views
0 votes
1 answer

How can I install and setup Pytest framework?

Hey Yashmin, follow these steps to install ...READ MORE

Aug 22, 2019 in Selenium by Anvi
• 14,150 points
5,087 views
0 votes
1 answer

What are the advantages of Pytest framework over other test frameworks?

Hello Shanky, Pytest is one of the ...READ MORE

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

What is the use of Pytest with Selenium Webdriver?

Hi Abhinav, Pytest is a testing framework ...READ MORE

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

What is a Session Id in Selenium Webdriver?

Hey Uruj, in Selenium Webdriver Session ID ...READ MORE

Aug 21, 2019 in Selenium by Abha
• 28,140 points
4,643 views
0 votes
1 answer

How to loop through a menu list on a webpage using Selenium?

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

Aug 22, 2019 in Selenium by Anvi
• 14,150 points
10,851 views
0 votes
1 answer

How can I automate Menu links of a website and validate page titles? Please help.

You could probably try following these steps ...READ MORE

Nov 29, 2019 in Selenium by Sirajul
• 59,230 points
3,191 views
0 votes
1 answer

ERROR:cache_util_win.cc(21)] Unable to move the cache: Access is denied. (0x5)

@rrgeereddy, can you show how you are ...READ MORE

Aug 19, 2019 in Selenium by Abha
• 28,140 points
8,515 views
0 votes
1 answer

How to use Chropath for locating web element in selenium?

Hey Angad, you can follow these steps ...READ MORE

Aug 22, 2019 in Selenium by Abha
• 28,140 points
20,144 views
0 votes
1 answer

WHAT IS THE SYNTAX OF DROPDOWN?

Hi, you can checkout following thread to ...READ MORE

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

How to run test cases in headless mode using Phantom JS?

Hi Bhanu, you can run test cases ...READ MORE

Aug 14, 2019 in Selenium by Abha
• 28,140 points
1,398 views
0 votes
1 answer

Can anyone suggest how can I restore cookies in new browser window using Webdriver?

Hey Akshay, following code snippet would help ...READ MORE

Aug 14, 2019 in Selenium by Abha
• 28,140 points
918 views
0 votes
1 answer

Please help me with automation script for testing Carousel Rotation with Selenium Webdriver.

Hey Hussain, you can use following lines ...READ MORE

Aug 14, 2019 in Selenium by Abha
• 28,140 points

edited Jul 19, 2023 by Khan Sarfaraz 4,478 views
0 votes
1 answer

How to Click a Link by href value in Selenium WebDriver?

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

Aug 14, 2019 in Selenium by Abha
• 28,140 points
4,495 views
0 votes
1 answer

How to Capture Network Traffic and Http Requests From WebDriver?

Hi Rubin, you can use following piece ...READ MORE

Aug 14, 2019 in Selenium by Abha
• 28,140 points
4,719 views
+1 vote
1 answer

Exception in thread "main" java.lang.IllegalStateExceptionrome.driver system property;

Hi Ashwin, your path for the webdriver ...READ MORE

Aug 14, 2019 in Selenium by Abha
• 28,140 points
351 views
+3 votes
1 answer

How to automate menu box / pop up of right click in python selenium.

You can use keys to do this. ...READ MORE

Aug 9, 2019 in Selenium by Shubham
7,918 views
0 votes
1 answer

How to count words in notepad File using Selenium

To perform character count. String fPath="D:/MyTextFile.txt"; int fileCharactersCount=Files.readAllBytes(new File(fPath).toPath() ...READ MORE

Aug 7, 2019 in Selenium by neerajv
• 170 points
1,893 views
0 votes
1 answer

Google Search Automation with Python Selenium.

You can simply automate pressing the "Enter" ...READ MORE

Aug 5, 2019 in Selenium by Payal
11,068 views
0 votes
1 answer

Need help with automation test script using Cucumber and selenium!

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

Aug 1, 2019 in Selenium by Abha
• 28,140 points
753 views
0 votes
1 answer

How to write a feature file in Cucumber?

A Feature File is an entry point to the Cucumber tests. ...READ MORE

Nov 27, 2019 in Selenium by Sirajul
• 59,230 points
1,729 views
0 votes
1 answer

What is Behavior Driven Development (BDD) and what are its features?

Behavior-driven development (BDD) is an Agile software development methodology within which an application is ...READ MORE

Nov 27, 2019 in Selenium by Sirajul
• 59,230 points
1,101 views
0 votes
1 answer

What are the benefits and drawbacks of using Test Driven Development in Automation testing?

Hi Sharon, Test Driven Development (TDD) is an iterative ...READ MORE

Aug 5, 2019 in Selenium by Anvi
• 14,150 points
2,198 views
0 votes
1 answer

Login test for Gmail with Cucumber and Selenium Webdriver

Hi Devendra, following feature-file shows the scenario ...READ MORE

Aug 5, 2019 in Selenium by Abha
• 28,140 points
18,157 views
0 votes
1 answer

In python selenium webdriver is it possible to check whether a checkbox or radio button is enabled or not?

Hey Yuraj, you can use this test ...READ MORE

Aug 1, 2019 in Selenium by Abha
• 28,140 points
2,925 views
0 votes
1 answer

Which methods can be used to handle cookies in Python Webdriver?

Hi Audrey, you can use following methods ...READ MORE

Aug 1, 2019 in Selenium by Jasprit
675 views
0 votes
1 answer

How to set desired capabilities in Python Selenium Webdriver?

Hello Himani, you can try something like ...READ MORE

Aug 1, 2019 in Selenium by Abha
• 28,140 points
9,735 views
0 votes
1 answer

How can I resolve this error while using getWindowHandles() method: org.openqa.selenium.NoSuchWindowException ?

Hi Kabir, this type of error occurs when ...READ MORE

Aug 1, 2019 in Selenium by Abha
• 28,140 points
3,799 views
0 votes
1 answer

Error: NotAValidDirectory:: The directory name is invalid: 'C:\\Users\\Kartik\\geckodriver.exe'

Hey Kartik, Firefox requires gecko driver to ...READ MORE

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

How can I pause a text execution in python selenium webdriver?

Hello Ankur, you can use sleep() method ...READ MORE

Jul 31, 2019 in Selenium by Renuka
6,859 views
0 votes
1 answer

How to add implicit wait to a webdriver using Selenium webdriver with python?

Hello Hussain, you can use implicitly_wait() method ...READ MORE

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

How to open browser window in incognito/private mode using python selenium webdriver?

Hi Nuri, to open a browser window ...READ MORE

Jul 31, 2019 in Selenium by Anvi
• 14,150 points
13,152 views
+1 vote
1 answer

Is there any way of verifying the error message shown on a page using python selenium?

Hi Jasmine, you can verify an error ...READ MORE

Jul 31, 2019 in Selenium by Abha
• 28,140 points
4,332 views
0 votes
1 answer

How to find all broken/invalid links from a webpage using python selenium?

Hi Ruchi, following lines of code can ...READ MORE

Jul 31, 2019 in Selenium by Anvi
• 14,150 points
3,356 views
+1 vote
1 answer

Can I select multiple options from a dropdown using Python Selenium webdriver?

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

Jul 31, 2019 in Selenium by Abha
• 28,140 points
4,546 views
0 votes
1 answer

How to Select date from a datepicker with Selenium Webdriver using Python?

Hi Yashim, you can select date from ...READ MORE

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

edited Oct 7, 2021 by Sarfaraz 10,536 views
+1 vote
1 answer

Can I get meta-description of a webpage using selenium webdriver with python?

Hi Arpit, you can use this code ...READ MORE

Jul 31, 2019 in Selenium by Anvi
• 14,150 points
3,598 views