Skip to content

🐶 example of using hound / elixir with browserstack

Notifications You must be signed in to change notification settings

mrblueblue/chowchow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chowchow

Example of how to use Elixir and Hound to run browser automation tests.

These tests are in run in parallel and can be run locally or remotely connecting to Browserstack.

Running

Install dependencies first using

mix deps.get

Be sure to have Elixir 1.4 or higher.

Locally

Assuming you have Selenium server with the Chrome driver running on port 4444:

WEBDRIVER=selenium ENV=local mix test

Remotely

The script relies on the environmental varialbes USER and KEY, which represent your Browserstack username and access key.

You can set these variables in an .env file like

export USER="example"
export KEY="example"
export HOST="http://${USER}:${KEY}@hub-cloud.browserstack.com"

and then run:

source .env

Once these variables are set, you can run the Browserstack remote tests with:

WEBDRIVER=selenium ENV=remote mix test

About

🐶 example of using hound / elixir with browserstack

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages