Most answered questions in Selenium

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

My Windows authentication code no longer working now

Try below of the options driver.switchTo().alert(); or driver.sw ...READ MORE

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

Sending keys to credit card fields (fields are from stripe) using selenium

Below code will help you: String cnum = ...READ MORE

Jun 12, 2018 in Selenium by Samarpit
• 5,910 points
6,801 views
0 votes
1 answer

Clicking on hidden element in Selenium WebDriver

let us first store that element in the ...READ MORE

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

Handling elements inside Shadow DOM in Selenium WebDriver

You can use the driver.executeScript() method to access the ...READ MORE

Jun 11, 2018 in Selenium by Meci Matt
• 9,460 points
8,047 views
0 votes
1 answer

Handling pop up in Chrome using Selenium WebDriver

AutoIt Window Information Tool do not recognize ...READ MORE

Jun 11, 2018 in Selenium by Meci Matt
• 9,460 points
2,707 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

Safari getting launched on ios simulator, but not able to get url using driver.get(“”)

Below github link will help as the ...READ MORE

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

Is there a way to pass on the options/ flags to Selenium if i'm scripting in Python?

This is the usage: from selenium import webdriver from ...READ MORE

Jun 8, 2018 in Selenium by king_kenny
• 3,710 points
4,650 views
0 votes
1 answer

browse a website using selenium webdriver

You can use the below code: public class ...READ MORE

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

Switching browsers in Selenium WebDriver

You can try the below code: private ...READ MORE

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

Not able to call onclick datepicker function python selenium

To pass customized dates e.g. 2017/07/14. You have ...READ MORE

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

Returning null element when using following and preceding XPath selector

To identify the <input> tag with respect to the <label> tag ...READ MORE

Jun 8, 2018 in Selenium by Samarpit
• 5,910 points
2,947 views
0 votes
1 answer

Checking HTTP Status in Selenium

This might not be the best use ...READ MORE

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

Selenium WebDriver.get(url) not working

It is a Selenium defect. Problem is ...READ MORE

Jun 7, 2018 in Selenium by Meci Matt
• 9,460 points
8,868 views
0 votes
1 answer

Click a link within an iFrame which opens a new tab and switch to it

While switching the TAB induce WebDriverWait and switch accordingly. Below code ...READ MORE

Jun 7, 2018 in Selenium by Samarpit
• 5,910 points
4,332 views
0 votes
1 answer

There is an problem with the Recursion in Java. Method is returning empty list

checkMonth(driver) Ignore the List returned by that call. Perhaps you want ...READ MORE

Jun 6, 2018 in Selenium by jonss
865 views
0 votes
1 answer

How to select first instance of a button in a table row based on cell content by XPath

This xpath should give you all the ...READ MORE

Jun 6, 2018 in Selenium by jons
14,910 views
0 votes
1 answer

Fluent wait example with code

When we try to test the presence ...READ MORE

Jun 5, 2018 in Selenium by walter 123
• 240 points
13,511 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
0 votes
1 answer

How to launch new activity for Appium Android?

Firstly, test if the activity you want ...READ MORE

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

preceding-sibling in xpath, Selenium?

Here, ul has 8 children(8-li) on total.  And, ...READ MORE

Jun 1, 2018 in Selenium by Vinita
• 220 points
13,828 views
0 votes
1 answer

Selenium WebDriver typing speed is slow in input text field

It worked for me in the 64bit ...READ MORE

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

Selenium WebDriver 2.4.0 alert checking

You can go for the below option: driver.switch_to.alert.accept ...READ MORE

Jun 1, 2018 in Selenium by Meci Matt
• 9,460 points
490 views
+1 vote
1 answer

Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms.

This issue generally happens due to incompatibility ...READ MORE

Jun 1, 2018 in Selenium by bits1
• 120 points
10,580 views
0 votes
1 answer

Benefits of using Marionette FirefoxDriver instead of the old Selenium FirefoxDriver in Selenium WebDriver

The main advantage of using Marionette Gecko ...READ MORE

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

Firefox opens first run page in WebDriver

In C# with Selenium you can use ...READ MORE

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

Preferring CSS over XPath in Selenium

Advantages of using CSS: They are faster More readable CSS ...READ MORE

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

Selenium with C#

using OpenQA.Selenium.Firefox; using OpenQA.Selenium; class Demo { ...READ MORE

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

Need details about Page load strategy for Chromedriver

According to WebDriver docs, when Page Loading ...READ MORE

May 31, 2018 in Selenium by king_kenny
• 3,710 points
7,445 views
0 votes
1 answer

Can we control the test execution speed in WebDriver (using Ruby)

The methods controlling execution speed in WebDriver ...READ MORE

May 31, 2018 in Selenium by king_kenny
• 3,710 points
2,106 views
0 votes
1 answer

Executing Selenium test script from command line

You will require Selenium RC which you ...READ MORE

May 30, 2018 in Selenium by Meci Matt
• 9,460 points
3,468 views
0 votes
1 answer

Maximizing browser window in Selenium WebDriver using C#

You can use the JavascriptExector as follows: public void maximize() ...READ MORE

May 30, 2018 in Selenium by Meci Matt
• 9,460 points
2,081 views
0 votes
1 answer

How to enable WebGL if i'm using headless chrome on Ubuntu?

Use this on Chrome for using osmesa sudo ...READ MORE

May 30, 2018 in Selenium by sniffy_god
• 780 points
3,125 views
0 votes
1 answer

Between By.XPath and By.ID, which is the better for locating elements?

Technically speaking, By.ID() is the faster technique ...READ MORE

May 30, 2018 in Selenium by sniffy_god
• 780 points
12,168 views
0 votes
1 answer

errors when using class names locators. Getting compound classes are not supported

Pretty straight forward..If your class name includes ...READ MORE

May 29, 2018 in Selenium by sniffy_god
• 780 points
2,751 views
+1 vote
1 answer

Selenium Eror: org.openqa.selenium.UnhandledAlertException: unexpected alert open

Even I had a similar problem. This ...READ MORE

May 29, 2018 in Selenium by sniffy_god
• 780 points
14,704 views
0 votes
1 answer

Using partial Id in Selenium WebDriver

You can use CSS Selector for this, ...READ MORE

May 28, 2018 in Selenium by Meci Matt
• 9,460 points
2,721 views
0 votes
1 answer

Multi threading in Selenium WebDriver

WebDriver is not safe for multithreading.  Thread-safety is ...READ MORE

May 28, 2018 in Selenium by Meci Matt
• 9,460 points
10,015 views
0 votes
1 answer

Error running tests with Selenium WebDriver - FirefoxDriver error: Failed to start up socket within 45000

Normally a socket exception occurs when the ...READ MORE

May 25, 2018 in Selenium by sniffy_god
• 780 points
1,122 views
0 votes
1 answer

Selenium: Executing multiple tests at the same time

Probably your not aware of Selenium Grid ...READ MORE

May 25, 2018 in Selenium by sniffy_god
• 780 points
1,150 views
0 votes
1 answer

Sending cookies using Selenium WebDriver

You can create cookies using Java API ...READ MORE

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

Selenium ChromeBrowser get() method is not working

Make sure you are passing a valid ...READ MORE

May 25, 2018 in Selenium by Samarpit
• 5,910 points
2,470 views
0 votes
1 answer

How to Stop a For-Loop at a special number using Python

driver.find_elements_by_tag_name() returns a list of WebElements. You can use options ...READ MORE

May 25, 2018 in Selenium by Samarpit
• 5,910 points
460 views
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,479 views
0 votes
1 answer

Moving down and moving left the scroll bar that exists within the webpage

Below code will work: Do find the ...READ MORE

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

Identifying the page iframe in Selenium using Java Code

Open the page in a browser and ...READ MORE

May 24, 2018 in Selenium by Samarpit
• 5,910 points
1,583 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

Error selenium (rich:calendar)

See below code: public static void selecionarDataCalendario(By by,WebDriver ...READ MORE

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

Difference between submit() vs click() in Selenium Webdriver

The submit() function is specifically for forms ...READ MORE

May 24, 2018 in Selenium by sniffy_god
• 780 points
7,428 views