Trending questions in Selenium

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,130 points
1,197 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[tex ...READ MORE

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

How to take Screenshots in BDD cucumber framework in selenium

Check this out QAF. This can be done by ...READ MORE

Apr 26, 2018 in Selenium by king_kenny
• 3,650 points
2,403 views
0 votes
1 answer

Refreshing web page in Selenium WebDriver

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

Jun 18, 2018 in Selenium by Meci Matt
• 9,420 points
93 views
0 votes
1 answer

How to perform mouse hovering in Selenium WebDriver (Java)?

You many not actually be able to ...READ MORE

Apr 3, 2018 in Selenium by nsv999
• 5,110 points

edited Apr 4, 2018 by nsv999 3,370 views
0 votes
1 answer

Need Selenium to wait until the document is ready.

Use this: driver.manage().timeouts().pageLoadTimeout(10, TimeUnit.SECONDS); This piece of code will ...READ MORE

Apr 20, 2018 in Selenium by king_kenny
• 3,650 points
2,598 views
0 votes
1 answer

How to control Chrome Downloads page Using Selenium c#?

In your case you must replace 'cancel' ...READ MORE

May 7, 2018 in Selenium by Samarpit
• 5,130 points
1,863 views
0 votes
1 answer

Selenium IDE (2.9.1.1-signed) not working with latest Version of Firefox

Unfortunately, Selenium IDE will be deprecated soon. ...READ MORE

Mar 30, 2018 in Selenium by nsv999
• 5,110 points

edited Apr 4, 2018 by nsv999 3,474 views
0 votes
1 answer

Installing Selenium WebDriver on Mac OS

For Installing if you use homebrew , you can ...READ MORE

Apr 17, 2018 in Selenium by Vardy
• 2,270 points
2,674 views
0 votes
1 answer

What is Page Object Model in Selenium WebDriver?

If you want to learn about Selenium ...READ MORE

Jun 14, 2018 in Selenium by Meci Matt
• 9,420 points
165 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,650 points
312 views
0 votes
1 answer

Throwing Hamcrest exception message while actual and expected are same

Below will help you: Its due to string ...READ MORE

Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
38 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 29, 2018 in Selenium by sniffy_god
• 780 points
712 views
0 votes
1 answer

Handling print dialog in Selenium WebDriver

In Selenium WebDriver we are not able ...READ MORE

May 11, 2018 in Selenium by Meci Matt
• 9,420 points
1,496 views
0 votes
1 answer

Selenium WebDriver Real Time Projects

You should start with basics projects website ...READ MORE

Apr 30, 2018 in Selenium by Samarpit
• 5,130 points
1,961 views
0 votes
1 answer

My Windows authentication code no longer working now

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

Jun 12, 2018 in Selenium by Samarpit
• 5,130 points
65 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,130 points
81 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
937 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,130 points
159 views
0 votes
1 answer

Can we run multiple instances simultaneously with Selenium WebDriver?

A better option is to create multiple ...READ MORE

Mar 23, 2018 in Selenium by nsv999
• 5,110 points
3,416 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,420 points
699 views
0 votes
1 answer

Select an item from a dropdown list using Selenium WebDriver

Use this then it will work - new ...READ MORE

Apr 9, 2018 in Selenium by Vardy
• 2,270 points
2,688 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,420 points
464 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,420 points
553 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,420 points
49 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,420 points
42 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,130 points
637 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,420 points
26 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
67 views
0 votes
1 answer

findElement(By.xpath()) not working using Selenium WebDriver

element = findElement(By.xpath("//*[@test-id='test-username']"); element = findElement(By.xpath("//input[@test-id='test-username']"); (*) - any ...READ MORE

Apr 18, 2018 in Selenium by code_ninja
• 6,220 points
2,164 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,420 points
726 views
0 votes
1 answer

DesiredCapabilities in Selenium WebDriver

DesiredCapabilities is a class in org.openqa.selenium.remote.DesiredCapabilities package ...READ MORE

Apr 4, 2018 in Selenium by nsv999
• 5,110 points
2,755 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
378 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

May 11, 2018 in Selenium by Samarpit
• 5,130 points
1,157 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 30, 2018 in Selenium by king_kenny
• 3,650 points
314 views
0 votes
1 answer

what is the need of xpath when you have attributes like id ,class,name in selenium?

It is not necessary that every element ...READ MORE

Jun 1, 2018 in Selenium by Vinita
• 220 points
230 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 20, 2018 in Selenium by walter 123
• 240 points
72 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,420 points
269 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,130 points
485 views
0 votes
1 answer

Difference between Selenium IDE, RC and WebDriver

Selenium has 4 components:- IDE, Grid, RC and ...READ MORE

Apr 30, 2018 in Selenium by Meci Matt
• 9,420 points
1,523 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,420 points
535 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,420 points
140 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,130 points
748 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,420 points
148 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,420 points
47 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,420 points
454 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,420 points
48 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,510 points
2,510 views
0 votes
1 answer

What is the difference between dot and text() in XPath?

Even though there is some difference between ...READ MORE

Apr 25, 2018 in Selenium by king_kenny
• 3,650 points
1,584 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,420 points
32 views