Questions tagged [firefox-driver]

Firefox driver is included in the selenium-server-stanalone.jar available in the downloads.

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.

30 questions
12
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,515
  • 10
  • 44
  • 67
5
votes
2 answers

How to enable Adobe Flash in FireFox Selenium webdriver with FirefoxProfile

I need an automated way to enable Flash in the Firefox Selenium webdriver without user interaction. I have tried: FirefoxProfile profile = new FirefoxProfile(); //As 0 is to disable, I used 1. I don"t know what to…
5
votes
2 answers

Selenium extremely slow on reading the DOM

Selenium interaction with DOM seems extremely slow while doing couple of things in every page instantiation. Throughout the site we have visible spinner that indicates any outstanding API calls resolved or not. In summary I have three methods that…
2
votes
1 answer

how to get the different IDs for different webdriver tabs

I want to be able to manage several webdriver tabs. I want to get the ID of each when I make it, but I can only find the window ID (it must be for the entire window, since changing tabs it stays the same): In [17]: main_window =…
codyc4321
  • 9,014
  • 22
  • 92
  • 165
2
votes
0 answers

Firefox driver not working in android

I want to run my Webpage UI testing in firefox browser in android device, for this i need to get firefox driver, so that using that driver i can perform certain actions in the webpage. In my case, initially i am able to open the firefox browser by…
1
vote
0 answers

C# Selenium Firefox Driver set navigator.webdriver = false

For security purposes I was wondering if there is a way to manipulate the selenium webdriver(s) (firefox,chrome). We run some tests and did some modifications but we were not able to get on the right track. Is there a way to manipulate the selenium…
Cyan
  • 23
  • 2
1
vote
1 answer

Get firefox profile path in selenium WebdriverJS

How can I access/get the firefox profile path, from welenium webdriver? I can't seem to find it in the docs here: https://seleniumhq.github.io/selenium/docs/api/javascript/module/selenium-webdriver/index_exports_Capabilities.html
1
vote
0 answers

org.openqa.selenium.ElementNotVisibleException (Wait.until(ExpectedConditions) -Not Waiting?

Basic Info: Selenium WebDriver, Eclipse, Java, Firefox Driver I'm receiving this error: ` Exception in thread "main" org.openqa.selenium.ElementNotVisibleException: Build info: version: 'unknown', revision: '5234b32', time: '2017-03-10 09:00:17…
1
vote
1 answer

Error with new selenium web driver and firefox.

I'm using selenium jar (selenium-server-standalone-3.3.1) and Firefox 43.0.4. and Eclipse Version: Mars.2 Release (4.5.2) When I run a following code import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import…
1
vote
4 answers

How to close firefox browser in selenium 3.0.1

Firefox : 50.0.1, GeckoDriver :13, selenium 3.01, IDE: Eclipse, Programming language : Java Using below code : System.setProperty("webdriver.gecko.driver","C:\\geckodriver.exe); WebDriver driver = new…
1
vote
1 answer

Unable to create Firefox driver using Selenium java API

I am using the below code to create a firefox web driver using Selenium Java API.But it neither create firefox instance nor gives any error message.Control comes directly to finally block after some time. Java APi used - 2.46.0 Firefox version -…
Sona Shetty
  • 997
  • 3
  • 18
  • 41
1
vote
1 answer

Bad input type: "email", creating a text input error when use HtmlUnitDriver

I am login into google plus using selenium htmlunit driver. below code is working fine with fireFox driver. When I use HtmlUnitDriver, it gives some error like "Bad input type:" HtmlUnitDriver driver = new…
Kishore
  • 5,761
  • 5
  • 28
  • 53
1
vote
1 answer

Error on Firefox Driver using Selenium/Python

I'm getting an error when trying to execute a simple python script using Selenium. Here are the script and the error along with my environment information (I'm using a virtual environment). (I get a different error when I try to use the Chrome…
1
vote
1 answer

FirefoxDriver takes screenshots of different size

I made a java application that compares screenshots taken from our staging environment against the production ones. The app fails due to different screenshot sizes. How can I define the screenshot size? I am using the following code to generate the…
Potney Switters
  • 2,902
  • 4
  • 33
  • 51
1
vote
0 answers

Jasmine to run with firefoxdriver on jenkins

I am trying to run jasmine to run with firefoxdriver and getting this error. I am using os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.32-431.el6.x86_64', java.version: '1.8.0_25' 21:57:46 [ERROR] Failed to execute goal…
M T
  • 4,099
  • 4
  • 21
  • 27
1
2