This repository contains a Dockerfile to create an image containing the BrowserStackLocal executable and provides an additional Helm chart template for k8s cluster deployment.
BrowserStackLocal serves as a proxy tool to create a tunnel from any machine - which in most cases is either not public facing and/or behind a corporate firewall - to the Browserstack.com Hub and the attached Selenium Grid. Port 443 and websockets are used for communication.
Find the regarding docker image at:
https://cloud.docker.com/u/binaryguy/repository/docker/binaryguy/browserstacklocaltesting
Variable | Usage |
---|---|
BS_ACCESS_KEY | Browserstack access token |
Run it locally via the command:
docker-compose up
The deployment folder consists of a Helm chart template to deploy this image into a k8s cluster. To install the deployment execute the following command:
helm upgrade --tiller-namespace tillernamespace --namespace namespace --install --wait browserstacklocal .\deployment\
Verify deployment using:
helm list --tiller-namespace tillernamespace
Use Browserstack API:
https://www.browserstack.com/local/v1/list?auth_token=xxx&last=5&state=all