go-browserstack

command module
v0.0.0-...-ddb47a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2022 License: MIT Imports: 7 Imported by: 0

README

Go automate for BrowserStack

https://automate.browserstack.com/

This is the automation for BrowserStack. Users can use this package to automate visiting any websites for any os and browsers for testing.

Below are five parameters for users to set in .env as their accounts of BrowserStack and Url that they would visit.

Parameters

  • BROWSERSTACK_USERNAME: BrowserStack user name
  • BROWSERSTACK_ACCESS_KEY: BrowserStack access key
  • BROWSERSTACK_URL: the url address users will visit
  • BROWSERSTACK_HOSTS: binding of IP address and DNS
  • BROWSERSTACK_RUN_LOCAL: boolean value, true if users want to visit interanl network for local teseting. For the format, please refer to .env.example

Run Locally

If users want to visit internal url, e.g., http://localhost:8080, users need to start the local connection first.

./BrowserStackLocal --key BROWSERSTACK_ACCESS_KEY
  • Then users can execute the package to perform local testing.

Run

make  

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL