Most answered questions in Selenium

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,709 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,422 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,810 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,728 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
459 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
441 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,150 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,910 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,279 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,676 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,252 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,238 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
511 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
857 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,486 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,613 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,566 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,425 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,863 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,769 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,882 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
977 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,069 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
522 views
+3 votes
1 answer

Not able to run in chrome

There is a very silly mistake in ...READ MORE

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

How to get next sibling element using XPath and Selenium for Java?

Below code will help you: Try following-sibling axis : WebElement ...READ MORE

May 15, 2018 in Selenium by Samarpit
• 5,910 points
20,362 views
0 votes
1 answer

Selenium .net Binary location failed VB.NET

ChromeOptions.BinaryLocation is for specifying the location of ...READ MORE

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

Which combination will work - Selenium WebDriver 3.5.0 + geckodriver 0.18.0 + Firefox

I got to know that using Selenium ...READ MORE

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

What is the default profile for Selenium WebDriver?

While using Firefox in Selenium WebDriver 3.0, ...READ MORE

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

Handling selenium webdriver popups

If you want to handle the most ...READ MORE

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

Please help me solve this issue:- WebDriverException: The browser appears to have exited before we could connect

If its a Python code, then along ...READ MORE

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

Getting different texts from the HTML DOM through Selenium and Python

Try Below code: something = elem.find_element_by_xpath('./td[5]') text1 = driver.execute_script('return ...READ MORE

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

IFrame in Selenium

You can try out the belo code: driver.switch_to.frame(driver.find_element_by_tag_name("iframe")) .  To ...READ MORE

May 11, 2018 in Selenium by Meci Matt
• 9,460 points
1,180 views
+1 vote
1 answer

How to handle notifications in Python with Selenium (Chrome WebDriver)

Below will help you: You can disable the ...READ MORE

May 11, 2018 in Selenium by Samarpit
• 5,910 points
13,792 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,910 points
6,720 views
0 votes
1 answer

How to Check if any alert exists in selenium using Python

This might work for you. It did ...READ MORE

May 10, 2018 in Selenium by king_kenny
• 3,710 points
12,615 views
0 votes
1 answer

(Protractor) Finding specific row in ng-table by text

Try this Return the filtered elements before trying ...READ MORE

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

Identifying frames in selenium webdriver, when frame dont have ids

In Selenium WebDriver, if you don't find ...READ MORE

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

Opening Tabs using a Watir in Ruby

Selenium doesn't explicitly support opening of tabs, ...READ MORE

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

Using keys (Ctrl+A) in Selenium WebDriver

You can use the below code: String select ...READ MORE

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

Performing authentication for FirefoxDriver, ChromeDriver and IEDriver using Selenium WebDriver

Use the below code for firefox: profile.SetPreference("network.automatic-ntlm-auth.trusted-uris", "google.com"); driver ...READ MORE

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

Untrusted Certificates Force Ruby Selenium

Check this out capabilities = Selenium::WebDriver::Remote::W3C::Capabilities.firefox(accept_insecure_certs: true) driver = ...READ MORE

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

How can I handle certificates when testing pages with Selenium?

In Firefox, you should set 'accept_untrusted_certs' of ...READ MORE

May 8, 2018 in Selenium by king_kenny
• 3,710 points
11,523 views
0 votes
1 answer

Selecting an item from dropdown list using Selenium WebDriver & java

Use the below code: new Select(driver.findElement(By.id("blood-group"))).selectByVisibleText("AB"); You also need ...READ MORE

May 8, 2018 in Selenium by Meci Matt
• 9,460 points
5,498 views
0 votes
1 answer

Downloading file and saving it to the desired location in Selenium Webdriver

When you are setting up the Firefox ...READ MORE

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

Selenium throws an error “selenium.common.exceptions.WebDriverException:

In your case the path of the ...READ MORE

May 8, 2018 in Selenium by Samarpit
• 5,910 points
16,636 views
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,321 views
0 votes
1 answer

Wait for page to load using HtmlUnitDriver

You can create a custom ExpectedCondition public static ...READ MORE

May 7, 2018 in Selenium by anonymous
2,509 views
0 votes
1 answer

How can we use Selenium with Python?

First  Install Python based on the Operating ...READ MORE

May 8, 2018 in Selenium by Meci Matt
• 9,460 points
672 views