Questions tagged [firefoxdriver]

An Server required to communicate with the Selenium and Firefox browser.

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

Getting javascript is disabled after launching the application

Whenever I launch our application, in the Welcome.do page I am getting the javascript disabled message however when I check the about:config, I can see that the configuration is set to javascript....
Nelza's user avatar
  • 1
0 votes
0 answers
28 views

how to sendkeys to an authentication popupon firefox 38.5.2

Hello all, i'm trying to automate a webpage scenario with a pop up on firefox 38.5.2 using java. however i haver this error => Action error encountered result: false message: org.openqa.selenium....
Landry Messina's user avatar
0 votes
1 answer
321 views

Unable to launch a website in firefox browser using firefox Driver config

I am Unable to launch a website in firefox browser using firefox Driver config. Jmeter version : 5.5 Firefox version installed on system : 110.0 . Below are the jmeter logs, 2023-02-16 14:55:35,984 ...
keshav goyal's user avatar
1 vote
1 answer
256 views

Launch firefox browser on Android devices with Appium

I can not find a solution to launch firefox browser on Appium. I read the doc and do many research but it still doesn't work at all. The solution I try so far: private AppiumDriver driver; ...
Jimma's user avatar
  • 23
0 votes
1 answer
655 views

How to handle download pop-up in Firefox, while downloading XML using Selenium Webdriver?

I am trying to download an XML file from Firefox and Webdriver, but I can't handle the download pop-up. This issue comes only for downloading the XML files. When clicking the button, I need the file ...
user2251503's user avatar
0 votes
2 answers
3k views

Unable to launch and set the geckodriver using firefox Driver config

I am executing a test plan using firefox driver config and I have downloaded the firefox driver i.e. geckodriver.exe and store it in a D: drive. Now I have used the firefox driver config in my test ...
Rajan 's user avatar
  • 213
0 votes
1 answer
389 views

Webdriver setup error in Eclipse, Mac OS X Catalina

After upgrading Mac OS X to Catalina, I have been trying to execute a very basic script written in Java for Firefox in Eclipse IDE 2018. I've installed Gecko driver already through terminal and it's ...
user11702680's user avatar
0 votes
1 answer
200 views

Unable to launch Firefox driver using selenium

I'm getting error like Exception in thread main java. NoClassDefFoundError:com/google/common/collect/immutableMap and above are the full screen shots:
user41039's user avatar
-1 votes
1 answer
302 views

when I try to launch any driver the webpage is not getting loaded

org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: syncGUID":"{4ef3f74f-a8c6-4d0a-9f70-82419b95c42f}","...
user40261's user avatar
2 votes
2 answers
272 views

Selenium WebDriver gives the same window handle across multiple Firefox browser sessions

We use different profiles to test different features of our system. If we open new multiple FF sessions (each with it's own profile), Selenium Webdriver only uses 1 window handle identifier. (pseudo ...
Dennis Reda's user avatar
0 votes
1 answer
641 views

Firefox throws an error message through WebDriverManager

Firefox is mostly working, but the last test case failed - it won't click on an element. unable to read VR Path Registry is the error message. In Internet Explorer, it loads the browser, sometimes ...
jay's user avatar
  • 13
0 votes
2 answers
5k views

Selenium : How to handle a window which automatically closes and back to parent window & Opens window PopUp

I have a test case with following scenario: Click on global Order Mgmt Super user Click on Sales Order link Which Actually Opens new Window & Closes automatically Focus came back to Parent window ...
Akshay Dongar's user avatar
2 votes
2 answers
2k views

Logging js console when doing selenium test using firefox driver

I'm writing selenium tests which are launch on the firefox (gecko) driver. If a test fails, I want to retrieve the log present on the firefox js console. In order to do that, I have added the ...
BelovedFool's user avatar
0 votes
2 answers
2k views

How to add row elements in selenium webdriver using java?

I have written code like this package testpk; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import java....
chaitra teppad's user avatar
0 votes
0 answers
1k views

How do I fix the error " Message: Error: Polling for changes failed: NetworkError when attempting to fetch resource" in firefox

I'm always getting the below error when I run my automation suite. I need to fix that error because it fails some of my tests when the browser is loading. console.error: BroadcastService: ...
sanduni jayawardena's user avatar
2 votes
1 answer
10k views

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

I'm using Selenium 3.141.59 with a Firefox driver. I have a "flex" button very visible and very clickable (according to me) but selenium doesn't seem able to click on it. Here is the button: ...
BelovedFool's user avatar
0 votes
1 answer
240 views

the Gecko path is not working

package firsttestngpackage; import org.openqa.selenium.*; import org.openqa.selenium.firefox.FirefoxDriver; import org.testng.Assert; import org.testng.annotations.*; public class FirstTextNGFile { ...
Samantha's user avatar
1 vote
7 answers
13k views

Get Driver Version using Selenium with C#

I am testing with C# & Selenium & Selenium.Chrome.WebDriver (Nu-GET Package, Version 2.44.0). Now I am searching for a Method which gives me the actual Version of the current runnig driver. ...
BlindRob's user avatar
0 votes
1 answer
1k views

Want to test ebay site login without using Xpath

I want to test the Ebay site login, without using Xpath. It is not working, right now. I tried for hours to make this work. Please tell me what I am doing wrong and how to fix it. This is what I am ...
Poorna Senani Gamage's user avatar
1 vote
1 answer
238 views

Get java.lang.IllegalStateException

I am a beginner to testing. I want to launch Firefox browser. Can anyone explain me the error of below code? package Script; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox....
Poorna Senani Gamage's user avatar
0 votes
1 answer
1k views

What are the alternatives to FirePath and Firebug with the Firefox

I am a beginner to automated testing. I cannot find Firebug and Firepath on Firefox add ons. so What are the alternatives to FirePath and Firebug with the Firefox? Thanks
Poorna Senani Gamage's user avatar
3 votes
1 answer
567 views

how to open a firefox browser through selenium 3.6.0 with another profile using Javascript

I want to launch the Firefox browser through selenium-webdriver 3.6.0 with some of the default settings of the browser changed. Specifically, I want Firefox to download files, during automated testing,...
seek88's user avatar
  • 61
3 votes
1 answer
252 views

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

I wrote a test using Katalon Studio 5.8.0. My application under test contains a iFrame. Fortunately, both the iFrame and its children are identified using unique attributes. So, the following code ...
fgrossin's user avatar
0 votes
2 answers
5k views

How to pass the web driver instance from one testcase class to another testcase class in TestNG?

InitializeDriver.java: public class InitializeDriver{ WebDriver driver; public WebDriver getDriver() throws Exception{ driver = new FirefoxDriver(); System.out.println("Initialize ...
Mani Gopal's user avatar
3 votes
1 answer
7k views

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

I am trying to drag and drop using Python and Selenium. I have two containers with rows which indicate file names and by drag and drop, I want to transfer one file from the first container to the ...
Marialena's user avatar
  • 191
0 votes
4 answers
1k views

Launch FireFox custom profile with geckodriver in java

I'm trying to launch a Firefox profile with add-ons in it, with selenium v3.12 and gecko-driver v2.10 and Firefox version 60.0, how-ever it seems that the custom profile is not working. below is my ...
Prasad_Joshi's user avatar
1 vote
2 answers
6k views

How to inspect a element in a drop down menu in chrome and firefox?

The problem here is when we hover the mouse over the particular menu item, drop down items going to visible. When trying to click the inspect element the drop down items are not going to be visible. ...
Suresh Madhusanka's user avatar
1 vote
3 answers
2k views

How to launch Firefox Geckodriver with add-on enabled in selenium java?

I'm trying to use a custom profile in Firefox with an add-on, I can open the profile, launch URL, I even see the add-on icon on top bar but is always set into the disabled mode, I need to set it to ...
Prasad_Joshi's user avatar
3 votes
1 answer
4k views

NodeJS Selenium-webdriver firefox geckodriver set browser binary location without changing PATH

Currently I have the following setup for my NodeJS based test for firefox in Windows 7 Firefox 61.0.1 "geckodriver": "^1.11.0", "selenium-webdriver": "^4.0.0-alpha.1" However when I execute the ...
Malcolm Salvador's user avatar
1 vote
3 answers
3k views

Type mismatch: cannot convert from FirefoxDriver to WebDriver

package newpackages1; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class Myclass { public static void main(String[] args) throws ...
user33158's user avatar
4 votes
2 answers
131 views

How can I determine which Firefox profiles is used during a selenium test?

I inherited some java-based selenium tests, and have been tasked with running them against a secured site. The scripts are work fine when the site is not secured. When I run the tests against the ...
dnraikes's user avatar
  • 151
0 votes
3 answers
124 views

Mozilla browser open issue in the Selenium Webdriver

Getting below issue while opening Mozilla Firefox browser using selenium webdriver. Browser opens for just few seconds (1-2 seconds) and it gets closes automatically. Error: org.openqa.selenium....
Rutvi Soni's user avatar
1 vote
4 answers
14k views

selenium.NoSuchElementException: Unable to locate element: #passwordNext

Error: Exception in thread "main" org.openqa.selenium.NoSuchElementException: Unable to locate element: #passwordNext For documentation on this error, please visit: http://seleniumhq.org/exceptions/...
PriR's user avatar
  • 13
3 votes
4 answers
27k views

How to handle browser closing popup

In one of my scenario I am filling the form but not submitting due to my requirement. Now I am closing the browser but while closing browser it is browser an alert by saying "Are you sure .... ". How ...
QAMember's user avatar
  • 1,520
0 votes
3 answers
1k views

Getting error : NoSuchElementException - Unable to locate element with ID attribute

I am running this code: from selenium import webdriver from `selenium.webdriver.firefox.options` import Options Setup: options = Options() options.add_argument("--headless") def get_results(...
user2134816's user avatar
12 votes
6 answers
74k views

Webdriver Firefox "Element could not be scrolled into view"

I am facing this problem on Firefox v.59, Selenium 3.11.0. I just click on an element, like this: webDriver.findElement(By.id("row_0")).click(); and I get exception: org.openqa.selenium....
Ragnarsson's user avatar
2 votes
4 answers
2k views

Gecko Driver not navigating to URL

i am having a funny issue with my gecko driver. The browser loads however it does not redirect to the URL as stated below. Dim fireDriver As New FireFoxDriver(New FireFoxOptions() With {....
Grant's user avatar
  • 21
0 votes
2 answers
937 views

How to maximize browser window irrespective of windows versions

I have some scripts which are running on Firefox browser. Here, the problem was, I am using driver.manage().window().maximize(); code to maximize the browser. It is working perfectly fine with Windows ...
QAMember's user avatar
  • 1,520
0 votes
2 answers
592 views

Open Browsers using Selenium WebDriver

I need to run my test case through chrome,Firefox and IE browsers in same time so how can i open two or more browsers using one single instance of Webdiver? Thanks.
Sachintha's user avatar
  • 380
0 votes
2 answers
3k views

Howto use the Firefox browser in headless mode with Selenium

How do I open a Firefox browser in headless mode using Selenium ?
Sachintha's user avatar
  • 380
2 votes
2 answers
731 views

Which version of FF is compatible with Selenium IDE?

I tried installing FF 48 version & Selenium IDE was not compatible with this version. I went to google & searched, however, i found the answers as FF v47 & above will work with IDE & ...
Prashant's user avatar
1 vote
0 answers
1k views

Unable to open website in Firefox using selenium webdriver one updated version to 55 [closed]

Here is the sample code which I'm using. System.setProperty("webdriver.gecko.driver","C:\\geckodriver-v0.18.0-win64\\geckodriver.exe"); WebDriver driver = new FirefoxDriver(); driver.get("https://...
harshil fudani's user avatar
3 votes
2 answers
639 views

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

Currently, here is part of my configuration with testing using Chrome: prefs = { 'download' => { 'default_directory' => "#{$myRoot}/PDF", 'prompt_for_download' => ...
user3224193's user avatar
0 votes
1 answer
671 views

Error: Cannot connect to firefox with selenium [closed]

I am learning and doing automated testing. I was able to connect Firefox with selenium in the project created but now on of the experienced developer has given his code to go through and implement ...
Gagan's user avatar
  • 1
3 votes
0 answers
3k views

How to run Selenium through xvfb? (X frame virtual buffer)

Somewhat specific to Ubuntu, this is towards running this JAR on a server. Running xvfb just hangs for me, so trying to get the syntax properly: thufir@doge:~/.html$ thufir@doge:~/.html$ xvfb-run --...
Thufir's user avatar
  • 367
3 votes
1 answer
4k views

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

I want to grab everything within this div with an id of "storytext": <!-- END ID="STORY-META" CLASS="STORY-META" --> <div id="storytext" class="storytext storylocation linkLocation"> ...
Thufir's user avatar
  • 367
2 votes
2 answers
8k views

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

I must not be setting the System properties correctly. Otherwise I can't at all understand why the exception below is cannot connect to localhost. Or, might this be some sort of networking or other ...
Thufir's user avatar
  • 367
3 votes
2 answers
6k views

GeckoDriver not working in C# for Firefox browser

I'm trying to run some unit tests using Selenium Webdriver and C#.Net for Firefox browser but I was unable to do it (Chrome and IE11 browsers are working smoothly). Here is the info I gathered: OS: ...
Leonardo Castro's user avatar
0 votes
0 answers
235 views

NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms

org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. I am getting this error while I try to run the project using webdriver. Using the ...
ashu's user avatar
  • 338
1 vote
2 answers
6k views

Firefox browser opens but URL is not launched

I am working on selenium. I am using linux os. I am using firefox driver for automated testing my app. My firefox version is 53.0.3 (64 bit). When I run the code the Firefox browser open and don't ...
user avatar