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,203 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,281 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,874 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
930 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,525 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
759 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,028 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,777 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,859 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,544 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,156 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,697 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,629 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,646 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,562 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,748 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,178 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,313 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,856 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,934 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,355 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,758 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,674 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,660 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,470 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,448 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,512 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,562 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,288 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,483 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
643 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
488 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,080 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,944 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,276 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,011 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,351 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
626 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,827 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,135 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,641 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
782 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
522 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,901 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,362 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,578 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,584 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,132 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,842 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
575 views