Latest questions in Selenium

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
641 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
488 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
410 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,151 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,435 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,097 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,454 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,072 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,107 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,153 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,738 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,684 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,711 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,005 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,118 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,141 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,244 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,458 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
453 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,475 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,395 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,580 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,105 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
333 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,419 views
0 votes
1 answer

Scrolling down in Protractor

You need to wait for the scrolling ...READ MORE

May 24, 2018 in Selenium by sniffy_god
• 780 points
9,705 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,413 views
0 votes
1 answer

To check that the web page is loaded or not using Selenium Web Driver?

The solution is using Implicit Wait which ...READ MORE

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

Locating child nodes in selenium WebDriver

In this situation you can try doing ...READ MORE

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

Wait til an element appears in Selenium?

You should call ignoring with exception to ignore till ...READ MORE

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

Need to know how phantomjs execution is stopped

Actually, the .close() method is not the ...READ MORE

May 24, 2018 in Selenium by sniffy_god
• 780 points
435 views
0 votes
1 answer

Selenium WebDriver for retrieving HTML input value

Try  element.getAttribute("value") The text property is for text within ...READ MORE

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

Hiding Firefox window using Selenium WebDriver

The common way to hide the browser ...READ MORE

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

File Upload in Selenium Webdriver

The problem I found is excessive backslash(\) is ...READ MORE

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

Getting "Disable developer" mode extensions pop up while using Selenium WebDriver

Try the following java code: System.setProperty("webdriver.chrome.driver", "D:\\chromedriver.exe"); ChromeOptions chrome ...READ MORE

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

Not able to open a new URL in a new tab in Selenium

There is a bug in ChromeDriver that ...READ MORE

May 21, 2018 in Selenium by Meci Matt
• 9,460 points
18,229 views
0 votes
1 answer

I need to release the memeory allocated to Selenium chromedriver.exe while for tests

The usage of the commands is incorrect. driver.close() ...READ MORE

May 21, 2018 in Selenium by sniffy_god
• 780 points
6,227 views
+1 vote
2 answers

Is it possible to scroll down in a webpage using selenium webdriver programmed on python?

I using next code for facebook for ...READ MORE

May 16, 2019 in Selenium by mslavikas@gmail.com
25,602 views
0 votes
1 answer

Not able to identify datepicker in chrome for my site "tui.co.uk".

Dear Vamshi, After clicking on the date box ...READ MORE

Jun 21, 2018 in Selenium by walter 123
• 240 points
506 views
0 votes
1 answer

Chrome's console log

You can get logs using the following ...READ MORE

May 18, 2018 in Selenium by Atul
• 10,240 points
853 views
0 votes
1 answer

Wait for an element to be accessible using Selenium WebDriver

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

May 18, 2018 in Selenium by Atul
• 10,240 points
1,479 views
0 votes
1 answer

How to eliminate this error”Cannot instantiate the type Select in selenium webdriver”

Try below code. Select sc = new Select(driver.findElement(By.xpath("your ...READ MORE

May 18, 2018 in Selenium by Samarpit
• 5,910 points
9,598 views
0 votes
1 answer

Capturing JavaScript errors with Selenium WebDriver using Java

There is logs Beta version in WebDriver driver.manage().logs().get(LogType.BROWSER); Console output will be ...READ MORE

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

Is Selenium 3.6.0 & webdriver = new FirefoxDriver(capabilities) - deprecated?

Check this out: https://raw.githubusercontent.com/SeleniumHQ/selenium/master/rb/CHANGES 3.4.1 (2017-06-13) ================== Firefox: * Added ...READ MORE

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

Need to know which is better among browser.isElementPresent vs element.isPresent vs element.isElementPresent

All of these work very similar but ...READ MORE

May 17, 2018 in Selenium by king_kenny
• 3,710 points
1,760 views
0 votes
1 answer

Test fail: Selenium Python send_keys stop working

Your chrome driver should be latest version ...READ MORE

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

Taking a screenshot when a protractor test fails

This GitHub link will help you in ...READ MORE

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

Input username & password using Python in Selenium WebDriver

You can use the below code: username = ...READ MORE

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

Click action in Selenium WebDriver

You can use the below code to ...READ MORE

May 15, 2018 in Selenium by Meci Matt
• 9,460 points
515 views