WebDriver/Marionette/DevNotes: Difference between revisions

Line 68: Line 68:
If you do now want to build Firefox but would like to use Marionette you can do the following steps to get it working. You will have to have at least Firefox 15 installed to make this work. You will need to have a copy of Mozilla Central local or just get the files from http://hg.mozilla.org/mozilla-central/testing/marionette. I will reference that as $MARIONETTE
If you do now want to build Firefox but would like to use Marionette you can do the following steps to get it working. You will have to have at least Firefox 15 installed to make this work. You will need to have a copy of Mozilla Central local or just get the files from http://hg.mozilla.org/mozilla-central/testing/marionette. I will reference that as $MARIONETTE


* navigate to the director where the Firefox binary is. I will reference by $INSTALL e.g /Applications/Firefox/Contents/MacOS/ or /usr/local/lib/firefox/ or c:\Program Files\Firefox
* navigate to the directory where the Firefox binary is. I will reference by $INSTALL e.g /Applications/Firefox/Contents/MacOS/ or /usr/local/lib/firefox/ or c:\Program Files\Firefox
* copy all of the .JS files from $MARIONETTE to $INSTALL/marionette/chrome/content
* copy all of the .JS files from $MARIONETTE to $INSTALL/marionette/chrome/content
* copy $MARIONETTE/atoms.js to $INSTALL/chrome/marionette/content
* copy $MARIONETTE/atoms.js to $INSTALL/chrome/marionette/content
Confirmed users
753

edits