Most answered questions in Selenium

0 votes
2 answers

Couldn't sign to Chrome with selenium

Yes. I have spent my whole day ...READ MORE

Aug 25, 2020 in Selenium by anonymous
12,511 views
0 votes
2 answers

Data loss after page refresh in selenium

The easiest way to reload current page ...READ MORE

Apr 20, 2020 in Selenium by Liana
2,812 views
+1 vote
2 answers

How to get page source as it is in browser using selenium.

I needed to wait for an element ...READ MORE

Apr 18, 2020 in Selenium by laiman
• 330 points
18,530 views
+1 vote
2 answers

#SELENIUM, CHROMEOPTIONS - CAn we do one time set up for page zoom which applies for alll pages in the application

Have you tried using the Keys.chord() method: WebElement html = ...READ MORE

Apr 3, 2020 in Selenium by Jake
3,942 views
0 votes
2 answers

How to read OTP in JAVA Selenium using android phone

Try the following: Step 1: Connect the Phone/Dongle ...READ MORE

Oct 7, 2020 in Selenium by Karan
• 19,610 points
4,611 views
0 votes
2 answers

how to select text by span class

Do you just want to select the ...READ MORE

Feb 27, 2020 in Selenium by Etl
• 170 points
3,935 views
+1 vote
2 answers

Provider class org.eclipse.jetty.http.Http1FieldPreEncoder not in module

The InvalidModuleDescriptorException usually occurs when you are trying to read ...READ MORE

May 14, 2020 in Selenium by Sirajul
• 59,230 points
3,205 views
+1 vote
2 answers

how to display all items in the list in the drop down?

Try using following code:  WebElement dropdown = ...READ MORE

Sep 30, 2019 in Selenium by Anvi
• 14,150 points
10,662 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
2,931 views
0 votes
2 answers

How to avoid the pop-up window in chrome browser with Selenium?

Alert alertCancel = driver.switchTo().alert(); READ MORE

Sep 6, 2020 in Selenium by Sri
• 3,190 points
15,910 views
0 votes
2 answers

What is Cucumber dry run?

Dry Run is nothing  but checking the ...READ MORE

Nov 8, 2019 in Selenium by Venkata
• 160 points
19,317 views
+1 vote
2 answers

I'm Getting error as soon as I Initialize driver = new ChromeDriver();

Hi Prajwal, this type of error occurs ...READ MORE

Oct 11, 2019 in Selenium by Abha
• 28,140 points

edited Sep 6, 2023 by Khan Sarfaraz 33,044 views
+1 vote
2 answers

Getting captcha for gmail login using selenium webdriver

I tried using Tesseract OCR (Optical Character ...READ MORE

Apr 11, 2020 in Selenium by Rajesh
3,138 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,459 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,659 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
860 views
0 votes
2 answers

How to open a new tab in existing browser window using Javascript Executor?

Hi Meenal, you can use executeScript() method ...READ MORE

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

edited Oct 7, 2021 by Sarfaraz 10,397 views
0 votes
2 answers

How can I verify Error Message on a webpage using Selenium Webdriver?

For this type of message that gets ...READ MORE

May 31, 2020 in Selenium by divyang
• 140 points
16,671 views
0 votes
2 answers

How can we use JavaScript Executor to click and enter data to a web element in Selenium?

WebElement element = driver.findElement(By.id("abcd")); // Let the ...READ MORE

Mar 22, 2020 in Selenium by Lakshmi Sarvepalli
3,140 views
0 votes
2 answers

How to submit a form in Selenium webdriver if submit button can't be identified?

In addition to flat out submitting the ...READ MORE

Jul 31, 2020 in Selenium by anonymous
17,889 views
0 votes
2 answers

How to scroll a Web Page using coordinates of a WebElement in Selenium WebDriver ?

JavascriptExecutor js = (JavascriptExecutor) driver; js.executeScript("window.scrollBy("X", " y ...READ MORE

Aug 31, 2020 in Selenium by Sri
• 3,190 points
5,686 views
0 votes
2 answers

How to verify color of a web element in Selenium Webdriver?

document.getElementsByTagName('div')[0].style.backgroundColor READ MORE

Aug 31, 2020 in Selenium by Sri
• 3,190 points
16,954 views
0 votes
2 answers

I am trying to run the below code but java.lang.Illegalstate Exception is coming

You are facing this error because while ...READ MORE

Jun 21, 2019 in Selenium by Abha
• 28,140 points
787 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
5,814 views
0 votes
2 answers

What are the benefits of using TestNG with Selenium?

Hi Falguni, some of the benefits of ...READ MORE

May 31, 2019 in Selenium by Anvi
• 14,150 points
1,415 views
0 votes
2 answers

Is there any way to get the text of a web element using Selenium Webdriver?

use gettext() in java : string lableText = ...READ MORE

Sep 3, 2020 in Selenium by Sri
• 3,190 points
8,136 views
0 votes
2 answers

What are the type of Parameterization in TestNG?

A Data Provider is a method on your class ...READ MORE

May 28, 2019 in Selenium by Frankie
• 9,830 points
976 views
+1 vote
2 answers

How to click button selenium python?

Have you tried using implicit_wait method before getting ...READ MORE

May 27, 2019 in Selenium by Abha
• 28,140 points
10,172 views
0 votes
2 answers

Is it possible to find broken links on a webpage using Selenium Webdriver?

Yes it is possible to find broken ...READ MORE

Jul 25, 2019 in Selenium by anonymous
1,912 views
0 votes
2 answers

What are Broken Links and why they needs to be checked?

@Umang, Broken link or dead link is a link on a web ...READ MORE

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

What is PhantomJS and what is the usage of it?

@Ojaswini, Phantomjs is used for automating webpage ...READ MORE

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

What is a headless browser in automation testing and what are it's benefits?

Hi Sanaya, a headless browser is a web browser ...READ MORE

Aug 1, 2019 in Selenium by Abha
• 28,140 points
3,772 views
0 votes
2 answers

HELP!! Exception in thread "main" java.lang.IllegalStateException: The driver executable does not exist: C:\Users\tarin\JAVA-practice\Tutorial2\‪C:\Test Automation\Jars\chromedriver.exe

Use "‪C:\\Test Automation\\Jars\\chromedriver."\\chromedriver.exe" just added chromedriver one ...READ MORE

Aug 13, 2020 in Selenium by Anil
13,185 views
0 votes
2 answers

Can anyone explain the process of database testing from Selenium Webdriver using JDBC?

Why would you be testing the database ...READ MORE

May 17, 2019 in Selenium by Veretax
1,016 views
0 votes
2 answers

Why do you use cucumber with selenium?

@Neha, we can use Cucumber framework to ...READ MORE

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

What are the tools of Selenium Suite?

Selenium Grid , selenium IDE selenium RC ...READ MORE

Jun 4, 2019 in Selenium by Shweta Pandey
727 views
0 votes
2 answers

What is the best way to handle a Javascript popup using Selenium Webdriver?

webDriver.switchTo().alert() it inbuild selenium only //Store the alert ...READ MORE

Sep 3, 2020 in Selenium by Sri
• 3,190 points
10,345 views
0 votes
2 answers

What are the wait methods which can be used to handle AJAX calls?

Hi , for Ajax call better to use Explicit ...READ MORE

Sep 3, 2020 in Selenium by Sri
• 3,190 points
1,221 views
+1 vote
2 answers

What is the difference between findElement and findElements in Selenium Webdriver?

FindElement Command -This method locates for the ...READ MORE

Feb 11, 2020 in Selenium by anonymous
8,020 views
0 votes
2 answers

What are the benefits of using Selenium as an Automation Testing tool?

There is no rule we have to ...READ MORE

Aug 26, 2020 in Selenium by Sri
• 3,190 points
1,801 views
+1 vote
2 answers

How can I delete an element in Selenium using Python?

You can directly delete the node using ...READ MORE

Sep 14, 2019 in Selenium by tonystark
• 500 points
18,745 views
0 votes
2 answers

How to create a Javascript executor for making an element visible in Selenium Webdriver?

document.getElementById("myBtn").disabled = true; READ MORE

Aug 31, 2020 in Selenium by Sri
• 3,190 points
7,917 views
0 votes
2 answers

What is cross browser testing?

Cross browser compatibility is the ability of ...READ MORE

Mar 25, 2019 in Selenium by Frankie
• 9,830 points
626 views
0 votes
2 answers

How to save as PDF on Chrome using Selenium

Vaishanvi, Select  ID  selected dropdown or it ...READ MORE

Feb 22, 2020 in Selenium by Abdul
33,147 views
0 votes
2 answers
0 votes
2 answers

What are the different tools that can be used for Security Testing?

Veracode is the best due to banking ...READ MORE

Sep 3, 2020 in Selenium by Sri
• 3,190 points
701 views
0 votes
2 answers

What is the output of Usability Testing?

Usability testing = navigation + context testing. The ...READ MORE

Feb 15, 2019 in Selenium by Shashank
• 1,370 points
790 views
0 votes
2 answers

Alternative of click() in selenium

Depends on your scenario. webDriver click is ...READ MORE

May 6, 2020 in Selenium by Rahul
8,852 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
2,954 views
0 votes
2 answers

What are the limitations of Selenium?

Hi Moray, limitations of selenium webdriver are ...READ MORE

Jun 10, 2019 in Selenium by Abha
• 28,140 points
7,612 views