Pre-steps: Ensure your local webserver for you project is running on localhost at some port. This port will be reference later with ${PORT}.
- Login to screener.io (Username and password will be provided through fugacious)
- Once on the dashboard page, add a new Test Group
- Name the group name anything you want
- Set the baseurl to http://local.dev
- Add a new browser
- Add new pages
The last two options can be better understood by looking at the screener documentation and are not specific to setting it up locally.
- Download the screener tunnel client at https://screener.io/docs/screener-tunnel
- Unzip the downloaded file
- Put the resulting folder either in the project directory or somewhere easy to access
- Add the following entry to your
/etc/hosts
file (Note: editing this file requires root )
127.0.0.1 local.dev
- Run the screener tunnel with the API key (The api key will be provided over fugacious)
./screener-tunnel-client -apikey="{API Key}" -host="local.dev:${PORT}"
- Back on the screener dashboard, select your test group
- Click "Run tests"