Trending questions in Selenium

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,526 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,710 points
8,909 views
0 votes
1 answer

How to record popup windows with selenium IDE

If that pop up window has name, ...READ MORE

Sep 28, 2018 in Selenium by Meci Matt
• 9,460 points
2,115 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,710 points
8,766 views
0 votes
1 answer

What is the difference between running Protractor with and without Selenium WebDriver?

If directConnect is true then it will ...READ MORE

Jul 17, 2018 in Selenium by Meci Matt
• 9,460 points
5,106 views
0 votes
2 answers

Tried doing automation of drop down with click or type into & select item.

Hello @Bharti, I was using the same ...READ MORE

Dec 20, 2018 in Selenium by Priyaj
• 58,020 points
730 views
+3 votes
1 answer

How Selenium capture webpage errors?

Selenium capture webpage errors by url verification. Step ...READ MORE

Oct 30, 2018 in Selenium by martint
1,184 views
0 votes
1 answer

Python Selenium (waiting for frame, element lookups)

You could use WebDriverWait: from contextlib import closing from selenium.webdriver ...READ MORE

Sep 14, 2018 in Selenium by Martin
• 4,320 points
2,375 views
0 votes
1 answer

Basic authentication with Selenium in Internet Explorer 10

My upgrade to Internet Explorer 10 was ...READ MORE

Sep 14, 2018 in Selenium by Martin
• 4,320 points
2,359 views
0 votes
1 answer

WebDriver Chrome Browser: Avoid 'Do you want chrome to save your password' pop up

You need to configure the following chrome ...READ MORE

Sep 19, 2018 in Selenium by Meci Matt
• 9,460 points
2,091 views
0 votes
1 answer

Screenshot with Selenium WebDriver

Try the below code: import java.io.File; import org.openqa.selenium.OutputType; import org.openqa.selenium.TakesScreenshot; import ...READ MORE

Jul 13, 2018 in Selenium by Samarpit
• 5,910 points
5,009 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
7,624 views
0 votes
1 answer

Selenium with pyvirtualdisplay unable to locate element

If there is some dynamic content on ...READ MORE

Sep 14, 2018 in Selenium by Martin
• 4,320 points
2,141 views
0 votes
1 answer

Python + Selenium - Trying to find element by link containing certain words

2 issues. One thing is, "Catalogues" & ...READ MORE

Mar 28, 2018 in Selenium by nsv999
• 5,500 points
9,473 views
0 votes
1 answer

Firefox browser not opening with given URL using Selenium Webdriver with Java

Download the latest selenium jar and replace ...READ MORE

Apr 30, 2018 in Selenium by Samarpit
• 5,910 points
8,012 views
0 votes
1 answer

Firefox Error: “Your connection is not secure” while launching driver with Selenium 3.0.1 using Java

Download Firefox 55 beta and set capabilities.setCapability("acceptInsecureCerts", true); Here ...READ MORE

Sep 17, 2018 in Selenium by Meci Matt
• 9,460 points
1,956 views
0 votes
1 answer

How to start headless chrome in incognito mode?

You are missing a single -... "--incognito" READ MORE

Aug 13, 2018 in Selenium by Samarpit
• 5,910 points
3,457 views
0 votes
1 answer

Not able to find element with Xpath

You are using wrong xpath expression. This ...READ MORE

Jul 4, 2018 in Selenium by Samarpit
• 5,910 points
5,181 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
7,025 views
0 votes
1 answer

Headless gecko driver using Selenium

Try the below steps. It works for ...READ MORE

Jul 13, 2018 in Selenium by Samarpit
• 5,910 points
4,733 views
0 votes
1 answer

Reading the pdf file using selenium webdriver

Use should use PDFBox and FontBox. ...READ MORE

Apr 25, 2018 in Selenium by Vardy
• 2,360 points
8,130 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,521 views
0 votes
1 answer

How to run tests in behat on firefox 48.0 using selenium stand alone server?

Starting the selenium server standalone with chrome ...READ MORE

Sep 28, 2018 in Selenium by Meci Matt
• 9,460 points
1,293 views
0 votes
1 answer

Not able to find web element in Span Tag

Try using class selector also. driver.findElement(By.cssSelector(".login-link")).click(); hash is used ...READ MORE

Jun 21, 2018 in Selenium by Samarpit
• 5,910 points
5,542 views
0 votes
1 answer

Selenium + IE8: force IE8 compatibility view

I have some workarond solution for this, ...READ MORE

Sep 19, 2018 in Selenium by Meci Matt
• 9,460 points
1,618 views
0 votes
1 answer

Pass driver ChromeOptions and DesiredCapabilities?

You can add ChromeOptions to DesiredCapabilities then create the driver with ...READ MORE

Aug 23, 2018 in Selenium by Meci Matt
• 9,460 points
2,745 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,405 views
0 votes
1 answer

How to download a pdf file diagrammatically from a web page with .html extension?

For downloading a pdf file: import java.io.File; import java.io.FileOutputStream; import ...READ MORE

Sep 28, 2018 in Selenium by Meci Matt
• 9,460 points
1,180 views
+6 votes
1 answer

Recording all of our test cases in Selenium IDE

Well @vincitydaimo, for obvious reasons we prefer not ...READ MORE

Sep 20, 2018 in Selenium by Vardhan
• 13,150 points
1,266 views
0 votes
1 answer

How do I assert an element is focused?

Since expect expects to be called with a promise, ...READ MORE

Aug 8, 2018 in Selenium by Meci Matt
• 9,460 points
3,327 views
0 votes
1 answer

Error select.select_by_visible_text('Jan 2018')

Your import statement is incorrect. As of 3.9, ...READ MORE

Jul 31, 2018 in Selenium by Samarpit
• 5,910 points
3,605 views
0 votes
1 answer

Error message in Protractor while using “webdriver-manager update” command

Add proxy for your network webdriver-manager update --proxy ...READ MORE

Aug 1, 2018 in Selenium by Samarpit
• 5,910 points
3,528 views
0 votes
1 answer

Selenium and :hover css

I couldn't find a way to do ...READ MORE

Sep 19, 2018 in Selenium by Sushmita
• 6,920 points
1,352 views
0 votes
1 answer

Getting the proper xpath for date picker in selenium

Try to use explicit wait. Sometimes it ...READ MORE

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

Getting android.webkit.WebView contents as a String using Appium

Below will help you: public final String WEBVIEW ...READ MORE

Aug 6, 2018 in Selenium by Samarpit
• 5,910 points
3,209 views
0 votes
1 answer

Screenshot using PhantomJS in C#

Here is how to take the screenshot ...READ MORE

Aug 23, 2018 in Selenium by Meci Matt
• 9,460 points
2,443 views
0 votes
1 answer

Selenium Error: Runtime.executionContextCreated has invalid 'context':

Degrade your chrome driver version from 2.9 ...READ MORE

Jun 28, 2018 in Selenium by Samarpit
• 5,910 points
4,820 views
0 votes
1 answer

How to I switch to a new window for links with “blank” targets using Capybara?

Capybara 2.3 includes the new window management ...READ MORE

Jul 11, 2018 in Selenium by Meci Matt
• 9,460 points
4,240 views
0 votes
1 answer

How to wait for the webpage to load in selenium using java

Firstly, when you launch a web application, ...READ MORE

Aug 29, 2018 in Selenium by bug_seeker
• 15,510 points
2,150 views
+6 votes
1 answer

Selenium 4.0 new update

Hey Vrithra, I'm not too sure about the ...READ MORE

Aug 24, 2018 in Selenium by Vardhan
• 13,150 points
2,081 views
0 votes
1 answer

Open firefox window in selenium with firefox addons loaded

If you are using selenium remote control, you ...READ MORE

Sep 5, 2018 in Selenium by Meci Matt
• 9,460 points
1,813 views
0 votes
1 answer

XPath for the elements with no ID or Name in Selenium Webdriver

Use like this or similar to this: //div[@id="top-level-menu-item-3"]/div[@class="filter-label"] //div[@id="top-level-menu1"] ...READ MORE

Apr 17, 2018 in Selenium by Meci Matt
• 9,460 points
7,851 views
0 votes
1 answer

'The connection has timed out Error using Selenium Webdriver

Try to use implicit waits to ensure ...READ MORE

Apr 17, 2018 in Selenium by niki
7,834 views
+1 vote
1 answer

How to handle drop downs using Selenium WebDriver in Java

First, find an XPath which will return ...READ MORE

Mar 27, 2018 in Selenium by nsv999
• 5,500 points
8,638 views
0 votes
1 answer

Xpath not working in firefox but working fine in chrome

Try to search above xpath in chrome ...READ MORE

Jul 17, 2018 in Selenium by Samarpit
• 5,910 points
3,777 views
0 votes
1 answer

Need to know the differences between .// and //* in XPath?

The expressions your talking about, select different ...READ MORE

Apr 29, 2018 in Selenium by king_kenny
• 3,710 points
7,149 views
0 votes
1 answer

Selenium ChromeDriver issue - Want to run it in background, but not as headless browser

This is a flaw with ChromeDriver. Tried ...READ MORE

Mar 27, 2018 in Selenium by nsv999
• 5,500 points
8,572 views
0 votes
1 answer

How to get list of tests from Test Explorer in VS

Select all tests in Test Explorer and ...READ MORE

Aug 1, 2018 in Selenium by Samarpit
• 5,910 points
3,057 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,360 points
7,956 views
0 votes
1 answer

Error: No module named 'chardet'

This should just be a question of ...READ MORE

Jul 6, 2018 in Selenium by Samarpit
• 5,910 points
4,141 views