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
-3
votes
1 answer

Why in get() method of FirefoxDriver() driver we always need to mention http;//?

Why in get() method of FirefoxDriver() driver I need to mention http:// E.g,driver.get("http://www.example.com"); if I dont provide http then I am getting an error.Why get() method needs http://. public class OpenBrowser{ public void…
-3
votes
1 answer

Exception in thread "main" java.lang.IllegalStateException: thrown?

I have tried to download the new chrome driver and added it to my drivers folder, its still throwing the same error. import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; …
-3
votes
1 answer

Not able to identify element on the screen- how to use tab

Screenshot of the element I want to click: I automating my website(new to automation). once i login i get to another page where selenium web driver is not able to find any of the elements(I tried all possibilities even sso related). Only solution i…
-3
votes
1 answer

My selenium webdriver hangs (freezes) at some point of my project

The project works till a specific point where there its just freezing... this is where it stops: private def doActions(purchaseInfo: PurchaseInfo) = { driver.get(baseUrl) val addPur: WebElement =…
JohnBigs
  • 2,691
  • 3
  • 31
  • 61
-4
votes
1 answer

How to solve java.lang.NoClassDefFoundError? Selenium

Why this code doesn't work? import org.junit.*; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class MainTest { private WebDriver wd; private String urll; @Before public void openGoogle() { wd…
1 2 3
68
69