Most voted questions in Selenium

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
436 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,393 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
912 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,471 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,490 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,715 views
0 votes
0 answers
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,886 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,062 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
746 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,719 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,093 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,193 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,133 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,913 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
672 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,717 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,794 views
0 votes
0 answers
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,224 views
0 votes
2 answers

How to maximize or minimize a browser window using Selenium webdriver with Python?

from selenium import webdriver # get initial window ...READ MORE

Apr 1, 2020 in Selenium by Rajavenkatesh
34,555 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,847 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
860 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,145 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,353 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,529 views
0 votes
1 answer

How can I clear text of a textbox using Python Selenium WebDriver?

Hi Sonakshi, we can clear text of ...READ MORE

Jul 31, 2019 in Selenium by Anvi
• 14,150 points
12,391 views
0 votes
2 answers

How to get all options of a dropdown using python selenium webdriver?

WebElement element = driver.findElement(By.id("")); Select select = new ...READ MORE

Sep 6, 2020 in Selenium by Sri
• 3,190 points
16,734 views
0 votes
0 answers
0 votes
1 answer

How can I fetch value/text from a textbox by using Python Selenium Webdriver?

Hey Jagat, following test script shows how ...READ MORE

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

How to send keyboard input to a textbox on a webpage using python selenium webdriver?

Hey Dominic, you can use sendKeys() method ...READ MORE

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

Can anyone help me with Zomato login test script using Python Selenium Webdriver?

Hi Laxmikant, if you want to write ...READ MORE

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

How to perform double click using mouse actions in Selenium with Python?

Hi harsh, you can use ActionChains() class ...READ MORE

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

Which methods which can be used to handle pop-up and alerts in Python Selenium Webdriver?

Hey Kishor, Python Selenium webdriver provides following ...READ MORE

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

How a prompt alert can be handled in Python Selenium Webdriver?

Hey Duran, you can handle a prompt ...READ MORE

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

How to refresh a webpage using python selenium webdriver?

Hey Shaurya, the code snippet below shows ...READ MORE

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

How can I capture full webpage screenshot using Selenium Webdriver?

Hey Harbhajan, you can use Ashot() to ...READ MORE

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

Is it possible to take screenshot of only viewable area of a webpage using Python Selenium?

Hi Gulzar, to understand how capturing of ...READ MORE

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

How to switch different browser tabs using Python Selenium?

Hello Rohan, you can use the following ...READ MORE

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

edited Apr 18, 2022 by Sarfaraz 7,464 views
0 votes
1 answer

How can I manually set proxy settings in Python Selenium?

Hi Jyotsana, you can manually set proxy ...READ MORE

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

How to get coordinates of a web element using Python Selenium?

Hey Ushma, you can use following code ...READ MORE

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

How to find size of an element in a webpage with Python Selenium Webdriver?

Hey Fawad, you can use this piece ...READ MORE

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

Can we perform zoom-in or zoom-out actions in a webpage using Python Selenium?

Hello Ruhi, to perform Zoom-in or Zoom-out ...READ MORE

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

How to perform scroll operations on a webpage using Python-Selenium Webdriver?

Hey Juhi, look at the below code ...READ MORE

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

How can we use Explicit wait with Python Selenium Webdriver?

Hi Aryan, Explicit wait is used with ...READ MORE

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

Can we select elements by CSS selectors in Python Selenium Webdriver?

Hi Suhana, you can use CSS Selectors ...READ MORE

Jul 29, 2019 in Selenium by Abha
• 28,140 points
3,249 views
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,284 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
1,655 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,520 points
90,012 views