Most voted questions in Selenium

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,892 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,277 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,656 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,218 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,218 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
502 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
850 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,474 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,584 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,557 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,394 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,844 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,753 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,862 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
967 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,061 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
503 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,321 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,913 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
937 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,546 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
772 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,039 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,800 views
0 votes
2 answers

How to test React JS dropdown with Selenium and java?

First of all you need to click ...READ MORE

Aug 20, 2019 in Selenium by ghoshPooja
• 140 points
16,932 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,578 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,171 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,681 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,586 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,787 views
0 votes
2 answers

How to close browser popup in Selenium WebDriver

driver.quit() READ MORE

Jun 14, 2019 in Selenium by anonymous
9,231 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,327 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,866 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,958 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,368 views
0 votes
2 answers

Selenium Webdriver Error: org.openqa.selenium.WebDriverException: unknown error: call function result missing 'value'

Facing Error Exception in thread "main" org.openqa.selenium .WebDriverException: unknown ...READ MORE

Mar 5, 2020 in Selenium by anonymous
9,792 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,682 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,498 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,480 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,526 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,609 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,305 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,499 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
657 views
0 votes
1 answer

Checking if the Checkbox is already checked

you can verify using IsSelelected Method. IsCheck = ...READ MORE

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

In Selenium why does Firefox requires GeckoDriver?

Firefox requires GeckoDriver because: For Mozilla Firefox till ...READ MORE

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

NoSuchElementException exception with headless chrome and selenium

As you are seeing NoSuchElementException you can consider using ...READ MORE

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

Selenium Exception: Element is not visible

Finding the element before locating the one ...READ MORE

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

I'm getting an error in my seleium chrome tests:- Chrome failed to start: exited abnormally

I've faced this issue before when working ...READ MORE

May 7, 2018 in Selenium by king_kenny
• 3,710 points
4,370 views