https://github.com/hotforfeature/wct-browserstack
WCT plugin that enables support for testing via Browserstack
https://github.com/hotforfeature/wct-browserstack
Last synced: 2 months ago
JSON representation
WCT plugin that enables support for testing via Browserstack
- Host: GitHub
- URL: https://github.com/hotforfeature/wct-browserstack
- Owner: hotforfeature
- Created: 2017-07-18T21:52:34.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-29T13:12:54.000Z (almost 7 years ago)
- Last Synced: 2025-03-14T19:08:29.842Z (3 months ago)
- Language: JavaScript
- Size: 40 KB
- Stars: 1
- Watchers: 0
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Browserstack support for [web-component-tester](https://github.com/Polymer/web-component-tester).
This plugin is intended to be used with [web-component-tester-custom-runner](https://www.npmjs.com/package/web-component-tester-custom-runner) until support for custom runners is added to WCT. It is experimental and a proof of concept, use at your own risk!
## Installation
```
npm install -g web-component-tester-custom-runner
npm install -g wct-browserstack
```## Usage
Create a wct.conf.js file like the sample below. Then just run
`wct`## Authentication
Browserstack username and access key may be set in config or via environment variables `BROWSER_STACK_USERNAME` and `BROWSER_STACK_ACCESS_KEY`.
## Sample wct.conf.js
```js
module.exports = {
plugins: {
sauce: { disabled: true },
browserstack: {
username: 'myusername',
accessKey: 'myaccesskey',
browsers: [{
browser: 'chrome',
browser_version: 'latest',
os: 'windows',
os_version: '10'
}],
defaults: {
project: 'my-project',
video: false
}
}
}
};
```