Questions tagged [selenium-firefoxdriver]

Selenium FirefoxDriver is a WebDriver implementation that controls the Firefox browser using a Firefox plugin.

Firefox driver is included in the selenium-server-stanalone.jar available in the downloads. The driver comes in the form of an xpi (firefox extension) which is added to the firefox profile when you start a new instance of FirefoxDriver.

Pros

  • Runs in a real browser and supports Javascript
  • Faster than the InternetExplorerDriver

Cons

  • Slower than the HtmlUnitDriver.

References:

893 questions
11
votes
5 answers

How to Test Blur - Firefox Selenium driver?

I'm using selenium 2.24 Firefox Driver to test an input box's blur event. Currently, after I sendKeys to an input box, I let selenium to click another area which triggers the input box blur. However, I think it is not a good way, anyone knows a…
Mike
  • 3,255
  • 10
  • 40
  • 66
10
votes
4 answers

How to scroll page with selenium

I am using FirefoxDriver webdriver. The page that loads in Firefox window is a large page and I want to scroll that page using selenium. I want to know how this can be done.
Sandeep Kumar
  • 12,284
  • 19
  • 66
  • 100
10
votes
3 answers

How to set up a Selenium Python environment for Firefox

How can I set up a Selenium Python environment for Firefox? I am using Firefox 50, Selenium 3, Python 3.5. I tried with many things binary and copying the geckodriver in the environment variable PATH, etc.
jaibalaji
  • 1,327
  • 1
  • 12
  • 22
10
votes
2 answers

Firefox WebDriver hangs waiting for page to load

sometimes in my test done with Selenium 2.41 and tested with Firefox 28 the execution hangs waiting for page to load. This is the wait condition: int time = 30; WebDriverWait wait = new WebDriverWait(webDriver, time); ExpectedCondition
vbail
  • 354
  • 3
  • 13
9
votes
6 answers

Selenium + Firefox Dev-Edition: send_keys throwing [object Undefined] exception

Trying to input username during login using send_keys() method. I guess it's able to locate the input element, as when I run until before send_keys it works. With sending a string value in send_keys, it's throwing an…
9
votes
2 answers

ABORT: Aborting on channel error line :2076 in Selenium 3.0.0 beta 2

I have been using Selenium 3.0.0 beta2 with the Firefox 48.0.2 and geckodriverv10.0 for win 64. The problem is that the browser crashes without closing. > [Child 10232] ###!!! ABORT: Aborting on channel error.: file…
user4971722
9
votes
2 answers

I can't select options in dropdown list in FireFox 48 using marionette driver and selenium 3

I tried the new geckodriver with marionette turned on for FF48 and selenium 3 but the test can't select the option in the drop down list for any element. My test works fine in FF45 and all other browsers. Only marionette driver does not select the…
9
votes
5 answers

C# Selenium WebDriver FireFox Profile - using proxy with Authentication

When you set proxy server parameter in the code below if your proxy server requires authentication then FireFox will bring Authentication dialog and basically you can't fill it in automatically. So is there is anyway to set USERNAME and PASSWORD…
Tim
  • 2,375
  • 2
  • 28
  • 39
8
votes
1 answer

Headless script crashes after a few runs

I have a script using a headless browser which I'm running using crontab -e. It runs fine the first few times and then crashes with the following Traceback: Traceback (most recent call last): File "/home/clint-selenium-firefox.py", line 83, in…
8
votes
3 answers

Export as PDF using Selenium Webdriver Screenshot

Does anyone know if it's possible to export HTML to PDF using the screenshot feature in Selenium Firefox WebDriver? I have a webpage which has print specific css which I need to download automatically. I understand that the screenshot feature takes…
8
votes
7 answers

WebDriver cannot be resolved to a type FirefoxDriver cannot be resolved to a type

I found a similar error as mine on stackoverflow and added selenium webdriver jar files to the project using the below method : right click on project--> goto build path--> configure build path--> click on "Add external jars"--> add selenium jar…
Juvelle Mendes
  • 113
  • 1
  • 1
  • 9
8
votes
3 answers

How do I use relative paths with the webdriver.Navigate().GotoUrl()?

driver.Navigate().GoToUrl("/") sets the location to "/" instead of "http://www.domain.com/" another example would be driver.Navigate().GoToUrl("/view1") sets the location to "/view1" instead of "http://www.domain.com/view1" Either example would…
ton.yeung
  • 4,169
  • 5
  • 38
  • 68
7
votes
2 answers

Selenium FirefoxOptions - how to set browser window to be maximised at start?

I''m building some Jave/Junit Selenium tests to work with both Chrome and Firefox. I can't find any info on how to start the Firefox browser window in a maximised state. With Chrome I can use ChromeOptions,…
user2868835
  • 695
  • 1
  • 11
  • 25
7
votes
2 answers

Which Firefox browser versions supported for given Geckodriver version?

I regularly update Firefox and Chrome browser, current version 54.0.1 32 bit So which version of Geckodriver to be used. I tried with both version Geckodriver-v0.18.0 and geckodriver-v0.16.1 For future reference where can I find the list the…
7
votes
2 answers

Selenium 2.53.1 does not work on FireFox 48

I am using selenium to test our websites. When I build the project, there is an Exception :- OpenQA.Selenium.WebDriverException: Failed to start up socket within 45000 milliseconds. Attempted to connect to the following addresses:…
Terry Zhang
  • 3,491
  • 6
  • 18
  • 28
1
2
3
59 60