Questions tagged [firefox-marionette]

Marionette is a remote-control for Firefox and other Mozilla products. It is similar to Selenium.

Marionette is an automation driver for Mozilla's Gecko engine. It can remotely control either the UI or the internal JavaScript of a Gecko platform, such as Firefox or Firefox OS. It can control both the chrome (i.e. menus and functions) or the content (the webpage loaded inside the browsing context), giving a high level of control and ability to replicate user actions. In addition to performing actions on the browser, Marionette can also read the properties and attributes of the DOM.

104 questions
1
vote
1 answer

Run Selenium (v3.4.0) tests on older versions of Firefox (v41.0)

after some lost hours browsing internet, I'm not able to find the solution. I'm currently trying to test my app on older versions of Firefox (here, v41.0) for some reasons. I'm passing by a docker image of Selenium for the hub (v3.4.0) and a docker…
1
vote
1 answer

Error installing Firefox 'marionette_driver' python package

Error installing Mozilla automation client 'marionette_driver'. Mozilla documentation says to install with the following command: $ pip install marionette_driver This produces an error: Collecting marionette_driver Downloading…
markling
  • 1,232
  • 1
  • 15
  • 28
1
vote
0 answers

Unable to send keyevents for navigation keys on 3rd party applications

I am doing automation on Firefox OS (Gaia) on a feature phone using marionette in Python. Problem I am not able to simulate hardware keyevents for the navigation keys and other selection keys on some applications (see in code…
1
vote
0 answers

Not able to update firefox prefrenecs in geckodriver

I am launching firefox version 51 using geckodriver with following code to setpreferences but when i see in action:config in firefox . Preferences are not getting updated nodeAddress = 20.20.20.20 #Node addres where browser is getting launched d =…
1
vote
1 answer

Selenium - NoSuchElementException after switching from frame[0] to window[1] - Firefox GeckoDriver Error - Python

I have receive an error, element not found in the Firefox GeckoDriver browser when i switch from window[1] to frame[0], back to window[1], and then click the close frame button. I want to continue using GeckoDriver because i was having performance…
1
vote
1 answer

Python marionette client doesn't close last window

Here's a small program that doesn't seem to close the last tab. from marionette_driver.marionette import Marionette client = Marionette("localhost", socket_timeout=30, port=proc_port) client.start_session() …
user1610950
  • 1,837
  • 5
  • 33
  • 49
1
vote
0 answers

Unable to launch firefox with selenium grid 3.0.1 gecko driver 0.11.1 firefox 50.0.1

Trying to launch firefox with selenium grid is through exception as below: org.openqa.selenium.sessionnotcreatedexception Code I am using is as below: if(useRemoteWebDriver){ URL seleniumGridURL = new URL(System.getProperty("gridURL")); …
Tarun
  • 11
  • 2
1
vote
0 answers

How can I make Selenium to load always the same profile using Marionette in java?

I've googled arround but found no answer for my question. I'd like to have Selenium always opening firefox with the same profile. This is my code: final File pathBinary = new File(properties.getProperty("firefox.webdriver.path")); final File…
Brito
  • 67
  • 1
  • 14
1
vote
1 answer

Selenium 3.0.1, gekodriver v0.11.1, firefox 49.0.2 "Unable to connect to host 127.0.0.1 on port 7055" exception

Trying to upgrade to Selenium 3.0 from Selenium 2.53. I can not put firefox in path, nor can put the gekodriver in path. I was using this in Selenium 2: String firefoxLocation = System.getenv("ProgramFiles(X86)") + "\\Mozilla…
GregMa
  • 740
  • 2
  • 10
  • 25
1
vote
0 answers

Selenium 2.53 : csv files not downloading automatically using the new Marionette Firefox driver

I have a automation requirement where after a certain step a csv file needs to be downloaded and saved into a folder. In order to achieve the same ,The Firefox driver has been setup as below. FirefoxProfile profile = new…
1
vote
1 answer

Getting error: Found argument '--webdriver-port' which wasn't expected, or isn't valid in this context

When I am running my selenium code I get the error "error: Found argument '--webdriver-port' which wasn't expected, or isn't valid in this context" I am having Firefox 48.0 Using gecko driver i have initialized browser. And getting the above…
Ashwini.J
  • 177
  • 2
  • 14
1
vote
1 answer

WebDriver: How to Convert MarionetteDriver to ThreadLocal for usage in Parallel Test in TestNG

is there any ways to achieve type casting of local instance of WebDriver through ThreadLocal to MarionetteDriver??? My code goes like this public class Base_Class { protected ThreadLocal Driver = null; …
Ag_Yoge
  • 77
  • 1
  • 11
1
vote
0 answers

MoveToElement doesn't work anymore since Firefox 48

I've seen people had this problem since the introduction of the Marionette webdriver but still couldn't find a solution for my thingy. Basically i need to hover an element and after that click on another element contained by the first one. But ever…
1
vote
2 answers

Selenium - Using Portable Firefox 48 with Marionette Driver

how is it possible to use marionetteDriver with a FF 48 portable? I know how it works with installed Firefox 48: String marionetteDriverLocation =…
Pirax
  • 117
  • 1
  • 10
1
vote
1 answer

Selenium - FireFox/Marionette driver not doing wait.Until

Ever since updating to the Marionette driver. Firefox is no longer doing waits. Basically I want it to log in, wait for the page to load then check to see if its logged in by finding "log out" on the page. Here's my setup // navigate to url…
Jonny Ngan
  • 137
  • 2
  • 6