Most viewed questions in Selenium

0 votes
1 answer

Multiple tabs in Selenium WebDriver

If you have a link that opens a ...READ MORE

May 25, 2018 in Selenium by Meci Matt
• 9,460 points
1,488 views
0 votes
1 answer

Native logger in Selenium WebDriver

Select the log types you want and ...READ MORE

Jun 19, 2018 in Selenium by Meci Matt
• 9,460 points
1,487 views
0 votes
1 answer

How to capture screenshot of a webpage using Selenium Webdriver?

Hi Bindiya, you can use TakesScreenshot interface to capture the ...READ MORE

Jul 8, 2019 in Selenium by Abha
• 28,140 points
1,485 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,484 views
+1 vote
2 answers

how to automate date picker

Try the following: 1) Assumption is that you ...READ MORE

Sep 18, 2020 in Selenium by Karan
• 19,610 points
1,476 views
0 votes
0 answers

nullpointer exception

import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class Testscript01 ...READ MORE

Apr 30, 2020 in Selenium by Syed
• 120 points
1,473 views
+1 vote
1 answer

where we are using delegates in selenium automation testing

Hello @Sri , Delegates are similar to pointers available ...READ MORE

Aug 26, 2020 in Selenium by Niroj
• 82,880 points

edited Jul 19, 2023 by Khan Sarfaraz 1,464 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,460 views
0 votes
1 answer

Gmail login fail using Selenium webdriver. Showing element not found for password

Try setting an implicit wait of maybe ...READ MORE

Dec 4, 2020 in Selenium by Gitika
• 65,910 points
1,457 views
0 votes
0 answers

Picked up JAVA_TOOL_OPTIONS: -Duser.home=C:\Users\45059465,

When i am trying to execute the ...READ MORE

Jul 15, 2019 in Selenium by anonymous
1,454 views
0 votes
0 answers

The xpath of the element keeps changing, how do i find dynamic xpath for this

Can you please help on this, I ...READ MORE

Nov 21, 2020 in Selenium by Rakshith
• 120 points

recategorized Nov 23, 2020 by Niroj 1,452 views
0 votes
1 answer

Supported OS by Selenium IDE

Operating Systems Supported by Selenium IDE are ...READ MORE

Feb 11, 2019 in Selenium by Daniel
1,450 views
0 votes
1 answer

What is the best way of writing TestNG rules?

There is no such best way but ...READ MORE

Dec 24, 2018 in Selenium by Nabarupa
1,446 views
0 votes
1 answer

What is error collector in JUnit and why it is used?

Hey Ekanshi, Error collector collects all error objects ...READ MORE

Jun 19, 2019 in Selenium by anonymous
• 28,140 points
1,445 views
0 votes
1 answer

JARS for using Selenium class functions in code

Yup. I'm not sure, exactly which JARS ...READ MORE

Apr 12, 2018 in Selenium by nsv999
• 5,500 points
1,443 views
+1 vote
0 answers

How to read a table using VB.net and selenium

Hello, I can see the table yet ...READ MORE

Dec 6, 2019 in Selenium by Matt
• 130 points
1,441 views
0 votes
1 answer

How can I automate google search for a keyword using ruby selenium webdriver?

Hi Amir, following code snippet shows how ...READ MORE

Aug 26, 2019 in Selenium by Anvi
• 14,150 points
1,440 views
0 votes
1 answer

Implicit wait & Explicit wait in selenium WebDriver

Implicit Wait:  While loading a web page in ...READ MORE

May 24, 2018 in Selenium by Meci Matt
• 9,460 points
1,435 views
0 votes
0 answers

How to configure ChromeDriver to initiate the browser in the Headless mode using Selenium?

I'm currently working on a Python script ...READ MORE

Apr 2, 2019 in Selenium by Surya
• 970 points
1,433 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,432 views
0 votes
1 answer

How to click on a hyper link using linkText?

driver.findElement(By.linkText(“Google”)).click(); The command finds the element using link ...READ MORE

Nov 30, 2020 in Selenium by Gitika
• 65,910 points
1,430 views
0 votes
0 answers

How to install Selenium Grid on Ubuntu?

Can someone help me with the step ...READ MORE

Feb 28, 2019 in Selenium by Disha
1,430 views
0 votes
1 answer

How to perform web scraping with Selenium?

Hey! The results are in the iframe so, ...READ MORE

Mar 26, 2019 in Selenium by Vaishnavi
• 1,180 points
1,429 views
0 votes
1 answer

How to start Firefox browser on Mac using Selenium Webdriver?

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

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

Is it possible to exclude a particular test method from a test case execution?

Hello Tarang, you can exclude a particular ...READ MORE

Jun 19, 2019 in Selenium by Anvi
• 14,150 points
1,423 views
0 votes
1 answer

unknown error: call function result missing 'value' for Selenium Send Keys even after chromedriver upgrade

After updating the Google Chrome browser to Version ...READ MORE

Nov 27, 2020 in Selenium by Gitika
• 65,910 points
1,421 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,407 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,406 views
0 votes
1 answer

Can we test Desktop Applications using Selenium WebDriver?

Selenium WebDriver is a web-based automation testing ...READ MORE

May 3, 2018 in Selenium by Meci Matt
• 9,460 points
1,394 views
0 votes
0 answers

Unable to pass url in firefox and chrome by using selenium webdriver

Hi All, I am not able to run ...READ MORE

May 1, 2019 in Selenium by anonymous

edited May 2, 2019 by Omkar 1,393 views
0 votes
1 answer

Running a selenium-server-standalone

Below codes will help you: java -jar seleniumjar.jar ...READ MORE

Apr 9, 2018 in Selenium by KillerMiller
1,392 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,387 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

Getting CSS class name using Selenium Webdriver

You can use getAttribute(attributeLocator) function.  selenium.getAttribute(//xpath@class); You have to specify the ...READ MORE

Apr 9, 2018 in Selenium by ghost
• 1,790 points
1,381 views
0 votes
1 answer

What are some of the common exceptions one could face in Selenium?

Hey Monisha, some of the common Selenium ...READ MORE

May 23, 2019 in Selenium by Satyam
1,377 views
0 votes
2 answers

Error:ElementNotVisibleException in selenium

The xpath that you are using is ...READ MORE

Feb 8, 2019 in Selenium by Disha
1,376 views
+4 votes
1 answer

How can ID used as a locator to enter an email-id in gmail?

You can use the id field of ...READ MORE

Dec 18, 2018 in Selenium by Nabarupa
1,376 views
0 votes
1 answer

How to record popup windows with selenium IDE

If that pop up window has name, ...READ MORE

Sep 28, 2018 in Selenium by Meci Matt
• 9,460 points
1,374 views
0 votes
1 answer

Maven pom.xml file issue USING SELEINUM WebDriver using Firfox

You don't need to change anything in ...READ MORE

Apr 3, 2018 in Selenium by ned_crew
• 1,610 points
1,370 views
0 votes
1 answer

What is the use of @Rule annotation in JUnit?

Hello Sarfaraz, JUnit provides special kind of handling ...READ MORE

Jun 19, 2019 in Selenium by anonymous
• 28,140 points
1,369 views
0 votes
1 answer

What are the features of TestNG which makes it a great testing framework?

Hey Leonard, following are some of the ...READ MORE

Jun 12, 2019 in Selenium by Abha
• 28,140 points
1,367 views
0 votes
1 answer

Downloading an executable with Selenium and Firefox Automatically

Below will help: When you create your driver: FirefoxProfile ...READ MORE

Jun 29, 2018 in Selenium by Samarpit
• 5,910 points
1,365 views
0 votes
1 answer

How can I automate Google Chrome using Selenium RC?

Chrome is used to launch a special ...READ MORE

Mar 6, 2019 in Selenium by Surya
• 970 points
1,364 views
0 votes
1 answer

What are the different things that can be automated with selenium?

Selenium can be used to automate the ...READ MORE

Feb 8, 2019 in Selenium by Ram
1,364 views
0 votes
1 answer

How can I create an object of WebDriverWait class?

Hey Harman, you can create object of ...READ MORE

Jul 4, 2019 in Selenium by Rashid
1,359 views
0 votes
1 answer

Selenium + IE8: force IE8 compatibility view

I have some workarond solution for this, ...READ MORE

Sep 19, 2018 in Selenium by Meci Matt
• 9,460 points
1,348 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,346 views
0 votes
1 answer

Single .exe file embedding both chromedriver and geckodriver into it

Yeah, it is possible. You could start ...READ MORE

Aug 11, 2018 in Selenium by DataKing99
• 8,240 points
1,344 views
0 votes
0 answers
0 votes
1 answer

Exclude text from `<script>` tag within the HTML DOM when calling `element.getText()`

As you have already identified the WebElement as element next you ...READ MORE

May 8, 2018 in Selenium by Samarpit
• 5,910 points
1,329 views