Firefox Marionette Commands Without Selenium And Geckodriver

799 views Asked by At

I want to use Firefox's marionette interface directly over TCP without using any geckodriver or selenium packages. But I failed finding any documentation about marionette commands list. There is only a brief documentation about how the protocol works in general here. But what I need is a complete documentation of all possible commands with interfaces and data models and such.

Where can I find it?

1

There are 1 answers

1
njasm On

I fear you wont find the information that you want the way you want.

The best way I found to develop my own library in golang (https://github.com/njasm/marionette_client) was/is to read the source code. Nothing beats that, right? :)

Marionette commands are mostly WebDriver ones, so by reading the source code of the marionette driver server that ships with Firefox you can find all the commands that are currently implemented.

You can browse Firefox source in searchfox.

More precisely here is the direct link to Marionette driver commands for the current Firefox release: https://searchfox.org/mozilla-central/source/testing/marionette/driver.js#3896