- 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/
Created
July 7, 2017 13:27
-
-
Save AutomatedTester/fbbdf3a5a476cd235069f10d9c21fd34 to your computer and use it in GitHub Desktop.
shs96c
commented
Jul 7, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment