Skip to content

Instantly share code, notes, and snippets.

@AutomatedTester
Created July 7, 2017 13:27
Show Gist options
  • Save AutomatedTester/fbbdf3a5a476cd235069f10d9c21fd34 to your computer and use it in GitHub Desktop.
Save AutomatedTester/fbbdf3a5a476cd235069f10d9c21fd34 to your computer and use it in GitHub Desktop.
  • Checkout Mozilla Central hg clone https://hg.mozilla.org/mozilla-central/
  • Prep everything for building Firefox. cd mozilla-central ./mach bootstrap NOTE: When asked if you want artifact builds answer yes! This will download native code instead of compiling!
  • Build Firefox ./mach build faster
  • Enable building GeckoDriver echo "ac_add_options --enable-geckodriver" >> .mozconfig
  • Build GeckoDriver ./mach build testing/geckodriver
  • Move GeckoDriver to the right repo since we are cutting corners from a normal build process mv ./obj-ff-dbg.noindex/testing/geckodriver/x86_64-apple-darwin/release/geckodriver obj-ff-dbg.noindex/dist/Nightly.app/Contents/MacOS/
  • Run WPT `./mach test testing/web-platform-tests/tests/webdriver/
@shs96c
Copy link

shs96c commented Jul 7, 2017

ERROR: --enable-geckodriver is not available without a compile environment. A geckodriver binary will be downloaded during an artifact build by default where available.
 0:06.98 *** Fix above errors and then restart with               "/Applications/Xcode.app/Contents/Developer/usr/bin/make -f client.mk build"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment