Most voted questions in Selenium

0 votes
0 answers

How to write a feature file in Cucumber?

How can I write a Feature file ...READ MORE

Aug 1 in Selenium by Parminder
27 views
0 votes
0 answers

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

What is Behavior Driven Development (BDD) and ...READ MORE

Aug 1 in Selenium by Sheldon
32 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 in Selenium by Anvi
• 13,960 points
52 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 in Selenium by Abha
• 27,180 points
248 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

Jul 31 in Selenium by Abha
• 27,180 points
117 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

Jul 31 in Selenium by Jasprit
33 views
0 votes
1 answer

How to set desired capabilities in Python Selenium Webdriver?

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

Jul 31 in Selenium by Abha
• 27,180 points
197 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

Jul 31 in Selenium by Abha
• 27,180 points
103 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 in Selenium by Anvi
• 13,960 points
109 views
0 votes
1 answer

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

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

Jul 31 in Selenium by Baldev
788 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 in Selenium by Renuka
196 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 in Selenium by Anvi
• 13,960 points
50 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 in Selenium by Anvi
• 13,960 points
487 views
0 votes
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 30 in Selenium by Abha
• 27,180 points
111 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 in Selenium by Anvi
• 13,960 points
227 views
0 votes
1 answer

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

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

Jul 30 in Selenium by Abha
• 27,180 points
304 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 in Selenium by Abha
• 27,180 points
211 views
0 votes
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 in Selenium by Anvi
• 13,960 points
113 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 in Selenium by Anvi
• 13,960 points
43 views
0 votes
1 answer

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

Hi Ankita, you can fetch all options ...READ MORE

Jul 31 in Selenium by Anvi
• 13,960 points
399 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 in Selenium by Abha
• 27,180 points
53 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 in Selenium by Abha
• 27,180 points
246 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 in Selenium by Anvi
• 13,960 points
113 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 in Selenium by Abha
• 27,180 points
210 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 in Selenium by Abha
• 27,180 points
30 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 29 in Selenium by Abha
• 27,180 points
41 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 in Selenium by Anvi
• 13,960 points
122 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 in Selenium by Anvi
• 13,960 points
264 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 in Selenium by Anvi
• 13,960 points
74 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 in Selenium by Abha
• 27,180 points
73 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 in Selenium by Abha
• 27,180 points
573 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 in Selenium by Abha
• 27,180 points
76 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 in Selenium by Anvi
• 13,960 points
148 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 in Selenium by Anvi
• 13,960 points
188 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 in Selenium by Anvi
• 13,960 points
91 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 in Selenium by Abha
• 27,180 points
111 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 in Selenium by Abha
• 27,180 points
232 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 in Selenium by Anvi
• 13,960 points
136 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 23 in Selenium by Abha
• 27,180 points
42 views
0 votes
1 answer

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

Hello Kabir, if you want to close ...READ MORE

Jul 23 in Selenium by Abha
• 27,180 points
1,658 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 23 in Selenium by Abha
• 27,180 points
95 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 23 in Selenium by Anvi
• 13,960 points
70 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 in Selenium by Jimmy
• 130 points
122 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 in Selenium by Abha
• 27,180 points
41 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 in Selenium by Abha
• 27,180 points
121 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 in Selenium by Anvi
• 13,960 points
38 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 in Selenium by Anvi
• 13,960 points
91 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 in Selenium by Abha
• 27,180 points
201 views