Trending questions in Selenium

+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,879 views
0 votes
2 answers

Stuck in this issue please help me out

NoClassDefFoundError exception : Mismatch of classpath in ...READ MORE

Sep 6, 2019 in Selenium by varun
• 140 points
3,318 views
0 votes
1 answer

i have a error in automation

Instead of using Xpath, can you use ...READ MORE

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

What are the advantages of TestNG over JUnit framework?

Hey Kimberly, TestNG has many advantages over ...READ MORE

Jun 12, 2019 in Selenium by Abha
• 28,140 points
6,987 views
+1 vote
1 answer

what technologies to integrate with selenium webdriver for making it works at large scale?

Hi Amina, you can use following technologies ...READ MORE

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

Unable to pass Capabilities to ChromeDriver in Selenium Webdriver. How to resolve the issue?

Hey Inaya, you are facing this problem ...READ MORE

Jul 4, 2019 in Selenium by Anvi
• 14,150 points
5,957 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,774 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,263 views
0 votes
1 answer

How to write a code for combo box and how can i select a country from country dropdown?

https://stackoverflow.com/questions/40017443/how-to-perform-dropdow ...READ MORE

May 8, 2020 in Selenium by vaibhav
1,594 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,224 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
2,076 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,021 views
+1 vote
1 answer

java error in eclipse

Hey Siddharth, try changing the module version, ...READ MORE

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

unable to launch my first code in eclipse using selenium chrome driver

@klbret, can you share your code or ...READ MORE

Oct 10, 2019 in Selenium by Abha
• 28,140 points
1,558 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,614 views
0 votes
1 answer

How to click on a hyperlink using Selenium WebDriver?

Hi Jonathan, you can use click() method in ...READ MORE

May 29, 2019 in Selenium by Abha
• 28,140 points
7,224 views
0 votes
1 answer

Send keys not working selenium webdriver python

As you mentioned send_keys("TEST") are not working, there are ...READ MORE

Sep 28, 2018 in Selenium by Meci Matt
• 9,460 points
17,720 views
0 votes
2 answers

Handling untrusted SSL certificates in different browsers using Selenium?

Hi Ishita, you can handle untrusted SSL ...READ MORE

Jun 4, 2019 in Selenium by Abha
• 28,140 points
6,182 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,412 views
0 votes
2 answers

How to get a page name using Selenium Webdriver (C#)?

String pageTitlte=driver.getTitle(); READ MORE

Sep 6, 2020 in Selenium by Sri
• 3,190 points
2,583 views
0 votes
1 answer

How to add Junit library in Eclipse to use with Selenium Webdriver?

Hi Jacky, to add JUnit library in ...READ MORE

Jun 12, 2019 in Selenium by Anvi
• 14,150 points
6,494 views
0 votes
1 answer

How to check if an image is displayed on web page while working with Selenium WebDriver?

I've come across a similar situation before, where the image ...READ MORE

May 10, 2019 in Selenium by Surya
• 970 points
7,881 views
0 votes
1 answer

How to define capabilities using ChromeOptions for RemoteWebDriver in Selenium?

Hi Celina, to define capabilities for RemoteWebdriver, ...READ MORE

Jul 5, 2019 in Selenium by Abha
• 28,140 points
5,451 views
+1 vote
2 answers

Please anyone explain with an example how Implicit wait can be used in Selenium Webdriver?

driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS); READ MORE

Dec 24, 2019 in Selenium by Sandy
1,229 views
0 votes
1 answer

Is it possible to run headless browser using Python-Selenium?

Hi Fatima, you can run headless browser ...READ MORE

May 27, 2019 in Selenium by Anvi
• 14,150 points
7,000 views
+1 vote
1 answer

Selenium jar/eclipse

Hey Mateusz, checkout this thread to know ...READ MORE

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

Open Gmail inbox and get the unread mails count using Selenium Webdriver

Hi Naitik, you can follow this piece ...READ MORE

May 21, 2019 in Selenium by Abha
• 28,140 points
7,177 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
4,059 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
3,088 views
0 votes
0 answers

Initialize WebElement for dynamic XPath

XPATH's are defined by the end user. I just ...READ MORE

Aug 20, 2019 in Selenium by anonymous
3,258 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
4,029 views
+1 vote
1 answer

according to the video download the latest version of jdk. Should i still download the jdk 8 or the jdk 13? thank you.

I think using stable version is better ...READ MORE

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

What are the main types of regex quantifiers used in Selenium Webdriver?

Hi Andrew, some of the regex quantifiers ...READ MORE

Jun 26, 2019 in Selenium by Abha
• 28,140 points
5,562 views
0 votes
1 answer

How can I clear the text in a text box using Selenium WebDriver?

Hello Akriti, you can clear the text ...READ MORE

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

How can I login to flipkart using selenium?

Hey @Jino, glad you are liking selenium ...READ MORE

Dec 20, 2018 in Selenium by Nabarupa
13,644 views
0 votes
1 answer

What is the difference between @BeforeClass and @BeforeTest?

Hi Mithun, @BeforeTest method runs before any ...READ MORE

Jun 25, 2019 in Selenium by Pragya
5,549 views
0 votes
2 answers

Comment in Selenium IDE

hi, I hope this will help you - ...READ MORE

Feb 21, 2020 in Selenium by surbhi
• 260 points
3,249 views
0 votes
1 answer

What is a feature file in Cucumber test and what are its components?

Hey Jagan, Feature file is a file ...READ MORE

Aug 27, 2019 in Selenium by Anvi
• 14,150 points
2,741 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,255 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
4,044 views
+1 vote
3 answers

java.lang.ClassNotFoundException: okhttp3.ConnectionPool - Selenium Error

The only reason for ClassNotFoundException is if ...READ MORE

Mar 30, 2018 in Selenium by nsv999
• 5,500 points
18,511 views
0 votes
1 answer

Getting a text of elements in div tag having same class name

Basically,there is no need to retrieve element ...READ MORE

May 17, 2018 in Selenium by Samarpit
• 5,910 points
22,816 views
0 votes
1 answer

What is the use of deSelectAll() method in Selenium Webdriver?

Hello Inderjeet, deselectAll() method is useful to ...READ MORE

May 31, 2019 in Selenium by Yogesh
6,420 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,715 views
0 votes
1 answer

How to open Firefox window in Incognito mode using Selenium Webdriver?

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

May 14, 2019 in Selenium by Anvi
• 14,150 points
7,061 views
0 votes
0 answers
0 votes
1 answer

How can I perform mouse hover to a web element with ruby and selenium webdriver?

Hi Siddhart, checkout the following script to ...READ MORE

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

How to check all checkboxes on a webpage using Selenium?

Hey Jenny, to check all the checkboxes ...READ MORE

Jun 26, 2019 in Selenium by Suraj
5,177 views