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:

1025 questions
-1
votes
2 answers

Selenium web driver - about:blank&utm_content=firstrun

Getting the following error "about:blank&utm_content=firstrun" in firefox, when I run the selenium web driver from eclipse
Arun G
  • 1
  • 2
-1
votes
3 answers

Firefox webdriver not starting, driver showing as Null

driver = new FirefoxDriver(); driver.manage().window().maximize(); driver.get(URL); I'm trying to run my test in Firefox using version 46.0.1 and webdriver 2.53.0 but when I run the test I see Firefox start and then close very quickly. I've got all…
OhAye
  • 93
  • 1
  • 4
  • 12
-1
votes
1 answer

Browser window opens maximized all the time. How to restore the last closed size of browser window

I use driver = new FirefoxDriver(); to launch a firefox page. And, selenium ChromeDriver Service for the chrome page. However, the window opens maximized at all times. How do I make the window open in the same dimensions as it was while closing?…
-1
votes
1 answer

Cannot run Java with Webdriver due to “all_links_webpage cannot be resolved” error

I am unable to run a Java program using Web driver due to an "Unresolved compilation problem: all_links_webpage cannot be resolved". Can anyone point out where I am going wrong? package lightart_TC; import java.util.List; public class light { …
-1
votes
1 answer

Selenium script too slow with new FirefoxDriver()

I doing automation on a particular website(say xyz.com). When I open the URL manually, it lands me onto a login page as expected and I am able to login there as well. However, when I am automating the scenario by creating new instance of Firefox…
-1
votes
1 answer

Issue with using Tor with Selenium WebDriver (Java)

So I am looking to do some simple data collection on a few .onion sites. I am going about this by using selenium webdriver to call Tor as part of the Firefox webdriver. However, I can't seem to figure out how to get firefox to successfully go to…
-1
votes
3 answers

Webdriver executeScript sporadically not detecting dynamically generated elements

It has taken me long-long time to figure out and still I m struggling with this. I am trying to access dynamically generated elements on a web page using javascript injection using selenium webdriver. For example: String hasclass =…
-2
votes
3 answers

Exception in thread "main" java.lang.IllegalStateException: The driver executable does not exist: /Users/Golcha/Desktop/Automation/geckodriver.exe

Getting the following error Exception in thread "main" java.lang.IllegalStateException: The driver executable does not exist: /Users/Golcha/Desktop/Automation/geckodriver.exe Code: import org.openqa.selenium.WebDriver; import…
-2
votes
1 answer

loading web page on firefox browser with extensions using selenium in java

I am working with Java and selenium webdriver to automate some functions with a loaded web page in Firefox.Not only, I need to restrict javaScript on the web page. To do that I use "noscript_security_suite-5.0.2-fx+sm.xpi" extension on the FireFox…
-2
votes
7 answers

I'm not able to click on Element, no Error - WebDriver/Java/Firefox

I'm currently attempting to automate some of our manual testing in my place of work. My current issue, is that WebDriver navigates to the URL, but doesn't seem to click on the button. Normally it would say 'Extension Updated Successfully'. I thought…
-2
votes
1 answer

how to get the element a[@id='ks-overlay-close-ks-component9045'], and the div[@id='ks-component9045'] is Popup window

Picture: there is Popup window in the html try: all_handles = self.driver.window_handles for handle in all_handles: if handle != now_handle: print handle try: …
flora
  • 1
  • 1
-2
votes
2 answers

Selenium 2.53 not working on Firefox 49.0.2

Selenium : 2.53 Firefox : 49.0.2 Windows10 : 32bit When I execute the selenium webdriver from eclipse get the following error "about:blank&utm_content=firstrun" in firefox
-2
votes
1 answer

How to handle firefox default page while executing selenium webdriver Java Script

Here I have attached error screenshot. This will be getting while running any Test Script into Firefox browser but same code working fine into Chrome browser. I am using the latest geckodriver and Firefox browser
-2
votes
1 answer

Window Form Application in C#

I am new to programming. I am using window form in VisualStudio C#. My problem is after clicking the first button in my Window Form, It opens the browser and go to Url that I want to login and after that when I click the Second button on my Window…
Juzbemine
  • 17
  • 2
-3
votes
1 answer

Selenium Python webdriver condition

My script can give me 3 separate webdrivers based on what I want i.e., my script can either install the chromedriver or safaridriver, or firefoxdriver. As an example: chromedriver:
1 2 3
68
69