Latest questions in Selenium

+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,361 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,940 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
943 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,567 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
781 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,051 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,817 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,986 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,602 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,179 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,789 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,716 views
+1 vote
4 answers

Error: selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH

You can also handle this error with ...READ MORE

Nov 27, 2018 in Selenium by Srujan

edited Aug 4, 2023 by Khan Sarfaraz 89,997 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,612 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,804 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,268 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,344 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,872 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,979 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,378 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,822 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,689 views
+1 vote
2 answers

Is it possible to manually set the attribute value of a Web Element using Selenium?

WebDriver driver; JavascriptExecutor js = (JavascriptExecutor) driver; js.executeScript("document.getElementById('id123').setAttribute('attr', ...READ MORE

Sep 4, 2020 in Selenium by Sri
• 3,190 points
26,786 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,518 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,497 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,542 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,633 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,320 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,507 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
671 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
523 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,101 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
8,005 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,348 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,036 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,387 views
0 votes
1 answer

Contains expression in Selenium using Java Language

Do something like this: WebElement thingie = driver.findElement(By.xpath("//tr[contains(@id,'" ...READ MORE

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

How to eleiminate Selenium NoClassDefFoundError for SSLContext?

You need to upgrade the httpCore dependency ...READ MORE

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

How to create Date Object and Compare Dates?

You can convert pd to date (or ...READ MORE

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

Selenium supports Flex Applications

yes. FlexUISelenium is an extension to the Selenium ...READ MORE

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

Handle Popup in selenium

you can try using this loop: for (String ...READ MORE

May 3, 2018 in Selenium by wrecker
• 3,110 points
807 views
0 votes
1 answer

How to use Selenium IDE ?

There are a couple of good videos ...READ MORE

May 3, 2018 in Selenium by wrecker
• 3,110 points
556 views
0 votes
1 answer

Why we don't use Selenium IDE?

Selenium IDE is a Mozilla Firefox plugin, which ...READ MORE

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

Can we test Desktop Applications using Selenium WebDriver?

Selenium WebDriver is a web-based automation testing ...READ MORE

May 3, 2018 in Selenium by Meci Matt
• 9,460 points
1,384 views
+2 votes
1 answer

I want the console.log output from Chrome. I'm working with selenium on Python

So this is how you do it ...READ MORE

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

Need to select an IFrame with selenium (python)

Well for me, something like this worked. ...READ MORE

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

Uploading File using Selenium WebDriver

Make sure that the input element is visible ...READ MORE

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

Advantages of Selenium WebDriver over RC?

Selenium RC:- Selenium Remote Control (RC) is used ...READ MORE

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

How can I possibly implement the drag n drop functionality with WebDriver testing

For working with pages where you have ...READ MORE

May 2, 2018 in Selenium by sniffy_god
• 780 points
668 views