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
50
votes
3 answers

Difference between webdriver.firefox.marionette & webdriver.gecko.driver

I am now learning Selenium and have met a problem. I am aware that Selenium supported old Firefox version by default without a driver. And for recent versions of Firefox, we have to download the driver and define it using…
16
votes
1 answer

What are the benefits of using Marionette FirefoxDriver instead of the old Selenium FirefoxDriver for a Selenium tester?

Last weeks there has been a lot of noise about this new FirefoxDriver called Marionette. To use Firefox with Selenium, we used to use the "old" Selenium FirefoxDriver. From Firefox 48.0 onwards it is going to be required to use this new…
12
votes
1 answer

Difference between geckodriver and marionette

I don't fully understand the difference between geckodriver and marionette. Can anyone clarify the difference between them? For example, when I use Selenium WebDriver to control a Firefox browser, I need a geckodriver binary to listen the…
Boni García
  • 4,618
  • 5
  • 28
  • 44
12
votes
3 answers

Selenium install Marionette webdriver

I have this issue with firefox version 47 https://github.com/seleniumhq/selenium/issues/2110 So, i have tried to add Marionette web driver to fix it: https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette/WebDriver But: from…
Arti
  • 7,356
  • 12
  • 57
  • 122
11
votes
3 answers

Python Set Firefox Preferences for Selenium--Download Location

I use Selenium Marrionette and GeckoDriver to pull web data. I use the following to set my Firefox profile preferences: fp = webdriver.FirefoxProfile() fp.set_preference("browser.download.folderList",…
d84_n1nj4
  • 1,712
  • 6
  • 23
  • 40
9
votes
4 answers

Selenium Marionette driver UnreachableBrowserException upon second launch

I'm currently playing around with the Selenium Marionette WebDriver. In my application, I want to open multiple Marionette drivers sequentially. Basically something like this: MarionetteDriver driver = new MarionetteDriver(); // do some…
qqilihq
  • 10,794
  • 7
  • 48
  • 89
8
votes
1 answer

Selenium Firefox Marionette Driver with .NET C#

I've been using Selenium (http://www.seleniumhq.org/) recently for testing purposes. It randomly stopped working and I believe this is due to Selenium WebDriver 2.53.0 not being compatible with Firefox 47 anymore (the WebDriver component which…
6
votes
2 answers

firefox marionette bypass security exception

I am using Marionette / Geckodriver v9.0 for mac with selenium jar 2.53.1. When it opens firefox 47 I'm getting the error that "Your connection is not secure". The code I'm using to create the driver is: FirefoxProfile firefoxProfile = null; …
Karidrgn
  • 155
  • 1
  • 10
6
votes
1 answer

Migrating from Firefox WebDriver to Marionette

I am trying to switch from FireFoxDriver to MarionetteDriver. I managed to run firefox with MarionetteDriver by running: public void runMarionnete(){ DesiredCapabilities dc = DesiredCapabilities.firefox(); …
user3927203
  • 71
  • 1
  • 3
5
votes
2 answers

Is there documentation for Mozilla marionette protocol commands?

Marionette is a protocol for remotely controlling Mozilla browsers. Chromium has the DevTools protocol for the same purpose, and it is documented here. Marionette has some sketchy documentation here, but is there a proper list of available commands…
MKaama
  • 1,732
  • 2
  • 19
  • 28
5
votes
4 answers

Disable log trace in Marionette driver

When MarionetteDriver is launched it's print log statement for each and every operation.Like 1465882610065 Marionette TRACE conn0 -> [0,138,"executeScript",{"args":[],"newSandbox":false,"script":"return Math.max(document.body.scrollHeight,…
Madhan
  • 5,750
  • 4
  • 28
  • 61
4
votes
2 answers

Selenium web driver moveToElement (Actions) throwing error with marionette driver?

Getting following error in selenium tests POST /session/ee1b9201-dadc-7446-b753-0a418a230d30/moveto did not match a known command What i've done is Actions resetView = new…
4
votes
1 answer

Setup proxy in Firefox browser via marionette driver

Firefox 47 and above do not support Selenium Webdriver. I tried to use a Marionette driver to start my tests via Firefox. But my settings in firefox-profile (proxy must set to network.proxy.type = 4, auto-detect) is no longer applied to Firefox…
Roman
  • 41
  • 3
4
votes
1 answer

Configure Capybara to use Marionette WebDriver for Firefox

With Marionette replacing FirefoxDriver, I need to configure my tests to run it. I've downloaded the binary but I can't seem to get my Capybara driver registration configured to actually use Marionette. Capybara.register_driver :selenium_firefox do…
3
votes
1 answer

How to set a specific download location in Mozilla - Marionette web driver?

I am having an automation script which worked well before the recent mozilla update. The selenium-python script automates some of my browser actions, and save certain reports (csv) to a defined location. I have been using selenium 2.53.6, which uses…
Surabhil Sergy
  • 1,946
  • 1
  • 23
  • 40
1
2 3 4 5 6 7