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,836 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,403 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,558 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,386 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
387 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
915 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,099 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,822 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,527 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
552 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,783 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,588 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,252 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,703 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,164 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,965 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,235 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,664 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,861 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,205 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,556 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,184 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
446 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,404 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
923 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,495 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,509 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,730 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
357 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,939 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,907 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,085 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
763 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,753 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,106 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,205 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,218 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,945 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
680 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,762 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,805 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,238 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,876 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
935 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,173 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,350 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,366 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,557 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,564 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,611 views