13 votes
Accepted

Webdriver Firefox "Element could not be scrolled into view"

A workaround that works for me so far is that I use a 'fake' tr: Find the tr I want to click Find a td that belongs to that tr and click on it. it works This bug is reported on Bugzilla and this ...
Ragnarsson's user avatar
5 votes
Accepted

What is geckodriver? How to use it in Selenium Webdriver?

GeckoDriver: A Proxy for using W3C WebDriver-compatible clients to interact with Gecko-based browsers. Geckodriver provides HTTP API described by the WebDriver protocol to communicate with Gecko ...
Bharat Mane's user avatar
  • 6,785
4 votes

Webdriver Firefox "Element could not be scrolled into view"

I faced the same issue when I upgraded to new Firefox version 63. I have used the Actions class to click an element. Give a try! WebElement element = WebDriver.findElement("locator"); ...
Venkat's user avatar
  • 41
4 votes
Accepted

Geckodriver: How to use "moz:firefoxOptions" on node.config for selenium grid

Unfortunatelly I found only workaround solution (e.g. if you need several different Firefox versions on a single station): nodeConfig_1.json { "capabilities": [ { "browserName": "firefox"...
Darken Raven's user avatar
4 votes

Firefox does not shows saved bookmarks, addons while launching?

Yes absolutely right. Because all those bookmarks, addons, passwords etc.. are saved In your regular browser's profile folder so when you launch browser manually, It will use existing profile ...
Bharat Mane's user avatar
  • 6,785
4 votes
Accepted

Firefox does not shows saved bookmarks, addons while launching?

IIRC selenium webdriver creates a fresh FF profile each time it's constructed. I found a link about how to set it to a different profile (one where your bookmarks, addons etc. exist) Regarding IE, I ...
user3557137's user avatar
4 votes

Firefox browser opens but URL is not launched

Add proper code to launch your Firefox driver using Geckodriver: System.setProperty("webdriver.gecko.driver","path of/geckodriver.exe"); WebDriver driver = new FirefoxDriver(); driver.get(URL); If ...
Bharat Mane's user avatar
  • 6,785
4 votes
Accepted

What are the alternatives to FirePath and Firebug with the Firefox

Essentially the functionality is now present in Firefox. The official advice is to use this: https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate You can read about that here: https://...
Paul Collingwood - Futrli's user avatar
4 votes
Accepted

Want to test ebay site login without using Xpath

It looks live you've answered your own question driver.findElement(By.cssSelector("a[href='www.ebay.com']")) but the DOM says that element is <a href="https://www.ebay.com/" ..../> So ...
Doug Clark's user avatar
3 votes
Accepted

How do I identify a specific <div> by id with Selenium?

// tagNameString is equal to "storytext" driver.findElements(By.tagName(tagNameString)); What you are actually asking Selenium to do is to find all "storytext" elements. Selenium will be looking for ...
alecxe's user avatar
  • 11.4k
3 votes

Are there any issues with Selenium v2.53 and Firefox v45.0.1?

If you are using Selenium v-2.53 downgrade your Mozilla Firefox version. Selenium v-2.53 has lots of issues with Mozilla Firefox version above 45. So you may use FF v-31.0. Even I have got same ...
Bharat Mane's user avatar
  • 6,785
2 votes

Authentication Acting as Alert, Not as Window

If you can try with firefox version 47+ as Selenium 3 is supported with later version from v47. Here is the link for reference Hope the below solution can help you with Authentication Alert box - ...
zishan paya's user avatar
2 votes
Accepted

How to run selenium Webdriver test cases in Firefox C#?

Selenium 2.53.1 is not supported in Firefox 48, you will need to downgrade to Firefox 47 or use the Geckodriver instead. https://stackoverflow.com/questions/38930370/selenium-2-53-or-2-48-not-working-...
SteveS's user avatar
  • 56
2 votes

Which version of FF is compatible with Selenium IDE?

Firefox 54 (not 34) is the latest Firefox version supported by the IDE. But the normal installation button is grayed out as for some reason the IDE is marked here as compatible with Firefox up to 34 ...
Tim TY's user avatar
  • 21
2 votes

GeckoDriver not working in C# for Firefox browser

Simple solution: use NuGet to download the Firefox driver into your project Geckodriver.exe should now be available in your solution explorer (see screenshot) Make sure you set the property to Copy ...
FDM's user avatar
  • 5,904
2 votes
Accepted

How to handle browser closing popup

There're at least 3 ways to handle this case. Refresh the page and then dismiss the dialog if the driver supports it : driver.refresh(); driver.switchTo().alert().accept(); driver.quit(); Setup the ...
Florent B.'s user avatar
2 votes
Accepted

Can't drag and drop from source to target using selenium and python

The problem was because I was using the drag_and_drop command. Drag and drop now work with both Chrome and Firefox with the following command: source_element = self.browser.find_element_by_xpath(...
Marialena's user avatar
  • 191
2 votes

Getting different results using selenium and iFrames on Firefox 63, Chrome 69 and Chrome 70

Have you updated chrome driver as well? – Alexey R. Oct 30 '18 at 16:13 Resolved ! Upgrading to Chromedriver 2.43 did the trick. Latest Release: ChromeDriver 2.43 Supports Chrome v69-71 Changes ...
fgrossin's user avatar
2 votes
Accepted

Get java.lang.IllegalStateException

Based on the error message the test is looking for ..\Downloads\Programs\geckodriver.exe while you have ..\Downloads\Programs\geckodriver-v0.23.0-win64.exe. Renaming geckodriver-v0.23.0-win64.exe to ...
Bence Kaulics's user avatar
2 votes
Accepted

“Element could not be scrolled into view” when button is already visible

Finally found the issue: There was another, invisible element, with the same id. I believe that making the id unique will fix the issue.
BelovedFool's user avatar
1 vote

Mozilla browser open issue in the Selenium Webdriver

For Selenium 2.53, use Firefox 45.0.2. It will work perfectly. You can also try upgrading to Selenium 3, but then you will need to upgrade the Firefox Version above 47 and also need to use ...
Rishikesh's user avatar
  • 885
1 vote

selenium.NoSuchElementException: Unable to locate element: #passwordNext

As per the Stack Trace Exception in thread "main" org.openqa.selenium.NoSuchElementException: Unable to locate element: #passwordNext For documentation on this error, please visit: http://...
demouser123's user avatar
  • 3,532
1 vote

How to handle browser closing popup

I have one test that results in a modal dialog popping up with a yes/no question. I always was to press Yes and the code I use is.... webDriver.switchTo().alert().accept();
Chris Adams's user avatar
1 vote

Howto use the Firefox browser in headless mode with Selenium

To enable headless Firefox using selenium-webdriver version 4.0.0-alpha.1 and node 8.x: const { Builder } = require('selenium-webdriver'); const firefox = require('selenium-webdriver/firefox'); const ...
Martyn Davis's user avatar
1 vote

How do I configure my env.rb file to be able to switch browsers?

At the end of each scenario, you should be quitting the driver instance during teardown: $driver.quit
Sam Woods's user avatar
  • 8,569
1 vote

Error: Cannot connect to firefox with selenium

You should prepare one list and note down the configuration used by the team and cross verify weather those are available at your machine. Selenium version have continuous upgrade. So better to ...
NarendraR's user avatar
  • 1,573
1 vote
Accepted

WebDriverException: org.apache.http.conn.HttpHostConnectException: Connect to localhost

The webdriver.gecko.driver property needs to be pointed to a geckodriver executable (reference), not firefox browser itself. Make sure geckodriver executable has "x" (execution) permissions. You can ...
alecxe's user avatar
  • 11.4k
1 vote

GeckoDriver not working in C# for Firefox browser

If the browser is not installed in the default location maybe it is good to specify the BrowserExecutableLocation. FirefoxOptions firefoxOptions = new FirefoxOptions(); firefoxOptions....
Vlad Pascondea's user avatar
1 vote

Firefox browser opens but URL is not launched

Try replacing: System.setProperty("webdriver.firefox.marionette","pathToGeckodriver"); with: System.setProperty("webdriver.gecko.driver","pathToGeckodriver");
Rabia Asif's user avatar
1 vote

How to avoid the pop up message while downloading an application (.exe) using selenium

I think you have missed some crucial options. Please consider the code taken from this answer. Of course your MIME type will be different. FirefoxProfile profile = new FirefoxProfile(); profile....
FDM's user avatar
  • 5,904

Only top scored, non community-wiki answers of a minimum length are eligible