Running WebKit
Running Safari
In your terminal, run the following command:
run-safari
The run-safari script sets the DYLD_FRAMEWORK_PATH environment variable to point to your build products, and then launches /Applications/Safari.app. DYLD_FRAMEWORK_PATH tells the system loader to prefer your build products over the frameworks installed in /System/Library/Frameworks.
Running Minibrowser
run-minibrowser
The run-minibrowser script will run a stripped down WebKit browser that’s much faster to load (especially on debug builds), which can be used to test changes in WebKit’s core engine.
Running WebKit Apps with Your Build
run-webkit-app [Example]
The run-webkit-app script sets the DYLD_FRAMEWORK_PATH environment variable to point to your build products, and then launches the specified app. The script takes an application name or path as an argument.
Debug vs. Release
If you have built multiple build types, use the --debug option to select a debug build, or --release option for a release build, e.g.
run-safari --debug
iOS Simulator
Pass the --ios-simulator option. For example, execute the run-safari script to run Safari with the WebKit version you built.
run-safari --ios-simulator
Windows
The run-safari script launches the Safari executable with the /frameworkPath command line switch set to point to your build products. The /debug command line switch will be set if you pass –debug to run-safari.