-
Notifications
You must be signed in to change notification settings - Fork 7
Chrome Setup
Mark Watson edited this page Oct 10, 2016
·
4 revisions
So long as Chrome is installed and working, generally PizzaScript will find it.
However you may not want the version that PizzaScript finds by default. Here is the basic procedure that PizzaScript uses to find Chrome:
- Use the location specified under
chrome.binary
in$PWD/setting.ini
- If no location is specified in step 1. check some default locations (these differ per OS). For each location, check the Chrome binary file exists and is executable by the current user.
- Otherwise check the path for
chrome
(Windows),google-chrome
(Linux), orGoogle Chrome
(OSX) - If Chrome wasn't on the path or the binary wasn't executable by the current user quit with an error
The exact logic lives here: ChromeFinder.findChrome().
No automation 'driver' is required for Chrome, this is built-in to PizzaScript. Generally PizzaScript is backward compatible with previous versions of Chrome. Future versions? Well that's somewhat out of our control, but we do run the travis-ci integration tests against the latest chrome.