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

"org.openqa.selenium.WebDriverException: Unsupported Marionette protocol version 2" error coming while running my Selenium Script with Gecko Driver

I have just started learning Selenium Java . I am running my script with Selenium Beta 3 and Mozilla Firefox v43. Here is my code` import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class…
3
votes
2 answers

How can I disable Web Driver Exceptions when using the Mozilla Marionette web driver with Selenium

I am remote controlling a Firefox browser using Python and Selenium. I have switched to using Marionette, as directed on the mozilla developer site. That all works fine. There is one page, where when I want to select an element. I get an exception.…
Dan
  • 1,536
  • 1
  • 10
  • 20
3
votes
1 answer

Getting Marionette/Geckodriver up and running with Protractor

So I've been having an issue getting my Protractor/Jasmine tests running in FireFox. I've been aware of the version issue from FireFox that doesn't support selenium angular/bootstrap etc etc and that has been my issue to date. I was informed to…
3
votes
1 answer

Selenium 3 - Marionette - Custom Firefox profile

I am running into a huge problem regarding selenium 3 automated ui tests. First of all, I clarify how I run selenium tests on Firefox 46 with selenium 2.x: - Start selenium server on console: java -jar selenium.jar -firefoxProfileTemplate…
user3746259
  • 1,491
  • 2
  • 23
  • 46
3
votes
2 answers

Taking a whole page screenshot with Selenium Marionette in Python

After the recent Firefox upgrade to version 47 we were forced to install the Marionette extension to keep being able to use selenium webdriver, and in my case also upgrade selenium from 2.52 to 2.53. I use the python version of selenium webdriver…
Stef Verdonk
  • 596
  • 1
  • 5
  • 6
3
votes
1 answer

Multiple Instances of Firefox with Marionette/Selenium in Python

I would like to open up multiple instances of Firefox using Selenium in Python and run them in parallel. After updating to Firefox 47.0, it seems that we now have to use the Marionette WebDriver for Firefox+Selenium. Before using Marionette, I could…
3
votes
3 answers

c# Selenium 2.53 moving to marionette driver after firefox upgrade to 47

I am trying to move into the upgraded firefox web browser automation using selenium. It seems that selenium needs marionette driver to continue working. I followed the instructions set by the devs, downloaded the driver renamed it to wires.exe The…
InspiredX3
  • 33
  • 1
  • 1
  • 4
3
votes
2 answers

Unable to instantiate Firefox using Marionette driver over Selenium and C#. os error

Could someone please help me with the following issue. While I'm trying to initialize a browser I get the 'os error' exception. var option = new FirefoxOptions(); option.IsMarionette = true; var driver = new FirefoxDriver(option); var b = new…
csprv
  • 59
  • 8
2
votes
0 answers

Can a website detect that Firefox is running on Marionette?

Running Firefox on Selenium requires the Geckodriver, since the Gecko Engine isn't really compatible with the JSON Wire Protocol. So the Geckodriver is running a HTTP-Server by serving all the commands between Selenium and the browser by translating…
Lukas S
  • 315
  • 1
  • 3
  • 15
2
votes
1 answer

Selenium get_attribute("id")

I am scraping in Python using Selenium and Firefox. I am able to get my href's into an object using the following: HREF = node.find_elements_by_xpath(".//a") # Get the href's under the current node Which returns a bunch of tags that look like…
2
votes
2 answers

Geckodriver 0.16.0 start firefox with flashplayer

Since geckodriver v0.16.0 flashplayer is disabled by default. Is there any possibility to start firefox with enabled flashplayer? I'm using C#. My code right now: var profileManager = new FirefoxProfileManager(); FirefoxProfile profile =…
Edvac
  • 31
  • 4
2
votes
2 answers

Is there a way to run Selenium tests on a remote host?

I would like to run the following setup: on host_1, execute some Selenium tests on host_2, run Firefox (On host_1 there would be a Jenkins instance running the tests and host_2 would be a Docker container running on host_1, and Firefox would run…
Cos64
  • 1,617
  • 2
  • 19
  • 30
2
votes
1 answer

Failed to launch Firefox 41 with Geckodriver using Selenium 3.0.0-beta3

I was running some quick tests using WebDriver. I downlowded the FirefoxWebDriver and the ChromeWebDriver; geckodriver-v0.10.0-win64.zip and chromedriver_win32.zip. They are extracted to a path location and have been renamed accordingly; wires.exe…
2
votes
0 answers

marionette driver giving me issues

I'm running marionette driver with selenium 2.53. I'm seeing a lot of issues on a ubuntu server v 14.0. In fact the tests hang. Have there been any issues with marionette version 0.9.0 selenium v 2.53 that I should know about? I get the…
Chris Hansen
  • 7,813
  • 15
  • 81
  • 165
2
votes
1 answer

connection refused when running selenium tests in marionette

I have selenium 2.53.1 tests running on the marionette web driver, I get the following error when running the tests. I have the geckodriver executable installed at /opt/ Caused by: org.openqa.selenium.WebDriverException: The driver server has…