Most viewed questions in Selenium

0 votes
1 answer

Getting the proper xpath for date picker in selenium

Try to use explicit wait. Sometimes it ...READ MORE

Jul 5, 2018 in Selenium by Samarpit
• 5,910 points
4,133 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
4,109 views
0 votes
1 answer

SELECT statement in POM-TestNG classes in java selenium

Initialize the WebDriver driver and add @BeforeTest method in your TestNG ...READ MORE

May 24, 2018 in Selenium by Samarpit
• 5,910 points
4,109 views
0 votes
1 answer

How to type text into a text field using Ruby Selenium Webdriver?

Hi Lily, to type text into a ...READ MORE

Aug 27, 2019 in Selenium by Abha
• 28,140 points
4,098 views
+2 votes
1 answer

How to fetch the text of a web element where the text is split in 2 lines?

Hello, You want to use a non-breaking space ...READ MORE

May 28, 2020 in Selenium by Niroj
• 82,880 points
4,067 views
0 votes
1 answer

Exception in thread "main" org.openqa.selenium.WebDriverException: unknown error: call function result missing 'value'

Hey, I was seeing the same issue. ...READ MORE

Nov 1, 2020 in Selenium by Karan
• 19,610 points
4,061 views
0 votes
1 answer

Impilicit wait vs Explicit wait vs Fluent wait

Implicit wait: Your telling the WebDriver the ...READ MORE

Apr 14, 2018 in Selenium by king_kenny
• 3,710 points
4,054 views
0 votes
1 answer

How to check visibility of an element using Selenium webDriver commands?

Selenium gives you the facility to check ...READ MORE

Jan 2, 2019 in Selenium by Nabarupa
4,052 views
0 votes
1 answer

How can I make WebDriver wait for few seconds?

Well, just try increasing the amount of ...READ MORE

Apr 6, 2018 in Selenium by nsv999
• 5,500 points
4,048 views
0 votes
1 answer

What are the major components of Selenium IDE?

Hi Janvi, Selenium IDE is divided into different ...READ MORE

May 13, 2019 in Selenium by Anvi
• 14,150 points
4,045 views
0 votes
1 answer

What are the advantages of using Data-driven Test framework?

Hey Huma, some of the advantages of ...READ MORE

Jul 16, 2019 in Selenium by Abha
• 28,140 points
4,039 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
4,018 views
0 votes
1 answer

I am trying to launch browser using testng but not able to execute. Please help me solving this error

Please check your chrome version, launch with ...READ MORE

Aug 25, 2020 in Selenium by Pramod
• 160 points
4,014 views
0 votes
1 answer

I tried to open a new website when a new tab is opened using Selenium Webdriver

Try this code: ArrayList<String> tabs = new ...READ MORE

Mar 27, 2018 in Selenium by nsv999
• 5,500 points
4,006 views
0 votes
1 answer

Using Selenium IDE with some random values

 Selenium IDE is not used, it is ...READ MORE

Jun 13, 2018 in Selenium by Meci Matt
• 9,460 points
4,002 views
0 votes
1 answer

Python Selenium WebDriver drag-and-drop

I have verified that this does in ...READ MORE

Aug 23, 2018 in Selenium by Meci Matt
• 9,460 points
3,998 views
0 votes
1 answer

Write a test case to check if an image exists on a webpage or not without using JS Executor

@Nipun if you want to check whether ...READ MORE

May 21, 2019 in Selenium by Nikita
3,991 views
0 votes
1 answer

How can I use HTML Unit Driver as a headless browser with Selenium?

Hello @Nishant, follow these steps to use ...READ MORE

May 17, 2019 in Selenium by Anvi
• 14,150 points
3,986 views
0 votes
1 answer

Using Extensions with Selenium - Python

You should use chrome web driver options to set ...READ MORE

Aug 23, 2018 in Selenium by Meci Matt
• 9,460 points
3,983 views
0 votes
1 answer

What are the advantages of Pytest framework over other test frameworks?

Hello Shanky, Pytest is one of the ...READ MORE

Aug 22, 2019 in Selenium by Abha
• 28,140 points
3,953 views
0 votes
1 answer

Not able to upload a file in Selenium Webdriver using python Scripting

Hey Srinivas, you can checkout this code ...READ MORE

Sep 10, 2019 in Selenium by Abha
• 28,140 points
3,943 views
0 votes
2 answers

How to Change gmail login page settings

Hey @Suganth, from August 2018, google has ...READ MORE

Feb 6, 2019 in Selenium by Priyaj
• 58,090 points
3,938 views
0 votes
1 answer

How to replace remote resources with local resource in a page with Selenium?

You could change URL for that script ...READ MORE

Aug 8, 2018 in Selenium by Samarpit
• 5,910 points
3,931 views
0 votes
1 answer

How to resolve the issue: Xpath for node without text but child has text

This will help you: //strong[not(normalize-space(text()))]/span[te ...READ MORE

Jun 11, 2018 in Selenium by Samarpit
• 5,910 points
3,920 views
0 votes
1 answer

How to use Actions class in Selenium Webdriver?

In seleniun webdriver it is not mandatory ...READ MORE

Apr 4, 2018 in Selenium by Damon Salvatore
• 5,980 points
3,910 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,874 views
0 votes
1 answer

How to run Selenium test cases in Headless Chrome browser?

@Afreen to run selenium test cases in ...READ MORE

May 17, 2019 in Selenium by Kushal
3,854 views
0 votes
1 answer

Elements are not recognised in selenium

Many a times the problem is that ...READ MORE

Jan 4, 2019 in Selenium by Dhruva
3,848 views
0 votes
1 answer

How to handle proxy authentication using Selenium Webdriver?

Hi Rajat, you can set HTTP proxy ...READ MORE

May 28, 2019 in Selenium by Abha
• 28,140 points
3,846 views
0 votes
1 answer

How to retrieve web element which has dynamically changing Id like login label's id in Facebook changes dynamically?

Hi @Anshul, if you have dynamically changing ...READ MORE

Jul 2, 2019 in Selenium by Rajan
3,837 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,833 views
0 votes
1 answer

How to skip a method or a code block in TestNG?

If you want to skip a particular test ...READ MORE

Feb 8, 2019 in Selenium by Frankie
• 9,830 points
3,824 views
0 votes
1 answer

How to automate Flash using Selenium Webdriver?

Hey Gaurav, to automate Flash using Selenium ...READ MORE

May 23, 2019 in Selenium by Gaurav
3,822 views
+1 vote
1 answer

How to get the following-sibling element for a table type of structure

Why do you want to use the ...READ MORE

Apr 9, 2020 in Selenium by Karan
• 19,610 points
3,815 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,799 views
0 votes
0 answers

Selenium can't find button

Here is the HTML: <button id="getCoupon" class="getCoupon" onclick="IWant()" ...READ MORE

Jan 1, 2019 in Selenium by Sebastian
• 180 points

recategorized Jan 1, 2019 by Vardhan 3,798 views
0 votes
1 answer

Selenium Webdriver call function Java Scipt

To run Javascript with selenium web driver you should ...READ MORE

Jun 14, 2018 in Selenium by Samarpit
• 5,910 points
3,797 views
0 votes
1 answer

How can firefox driver be installed and configured on MacOS?

Hi Urvashi, follow these steps to download ...READ MORE

Jul 18, 2019 in Selenium by Anvi
• 14,150 points
3,791 views
0 votes
1 answer

Is it possible to open a web page in a specific languages like Japanese or Chinese using Selenium Webdriver?

Hey Pratyush, yes it is possible to ...READ MORE

Jul 2, 2019 in Selenium by Rubina
3,782 views
0 votes
1 answer

How can I locate inline elements from a web page using Selenium Webdriver?

Which specific element you are trying to ...READ MORE

Oct 10, 2019 in Selenium by Abha
• 28,140 points
3,750 views
0 votes
1 answer

What is Webdriver Backed Selenium and why it is used?

Hey Shushma, WebDriverBackedSelenium is an implementation of the ...READ MORE

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

what do you mean by browser's native support w.r.t to Selenium WebDriver?

From Selenium v3 onwards, every browser vendor ...READ MORE

Apr 18, 2018 in Selenium by king_kenny
• 3,710 points
3,737 views
0 votes
1 answer

Why we need to use RemoteWebdriver Not the webdriver in Selenium Grid?

Hi Ramya, we use RemoteWebdriver in Selenium ...READ MORE

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

Open new tab instead of a new window in Selenium WebDriver

The current version of Selenium do not ...READ MORE

Jun 22, 2018 in Selenium by Meci Matt
• 9,460 points
3,717 views
0 votes
1 answer

Error in for loop to fetch data from excel in selenium

You are closing theFileInputStream inside the for-loop. ...READ MORE

Jun 20, 2018 in Selenium by Samarpit
• 5,910 points
3,689 views
0 votes
1 answer

Can I run TestNG using Command Prompt?

Hey Himanshi, you can run testNG with command ...READ MORE

Jun 20, 2019 in Selenium by Abha
• 28,140 points
3,651 views
0 votes
0 answers

How to hover element when action class is not working in my Selenium framework ?

When i am writing the code to ...READ MORE

Feb 16, 2019 in Selenium by Raishul
3,648 views
0 votes
1 answer

Is there a way to get element by XPath using JavaScript in Selenium WebDriver?

You can use the document.evaluate: Evaluates an XPath ...READ MORE

Nov 27, 2020 in Selenium by Gitika
• 65,910 points
3,645 views
0 votes
1 answer

How To move physical mouse pointer in selenium and c#

You can't show the mouse pointer moving and ...READ MORE

Jun 4, 2018 in Selenium by Samarpit
• 5,910 points
3,645 views