Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vilkg/wdio-applitools-cucumber-service
https://github.com/vilkg/wdio-applitools-cucumber-service
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vilkg/wdio-applitools-cucumber-service
- Owner: vilkg
- License: gpl-3.0
- Created: 2019-11-11T09:08:49.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T00:51:24.000Z (about 2 years ago)
- Last Synced: 2024-12-06T07:35:53.400Z (about 1 month ago)
- Language: JavaScript
- Size: 2.09 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WDIO5 with CucumberJS Applitools Service
## Configuration
### Properties
| Property name | Is required | Default value | Description |
| --- | --- | --- | ---
| apiKey| true | - | API_KEY you use to connect to applitools eyes |
| appName | false | - | |
| viewportSize | false | width: 1440, height: 900 |
| forceFullPageScreenshot | false | true |### Example
```
services: [
[ 'wdio-applitools-cucumber-service' , {
appName: "app name",
apiKey: "apiKey",
forceFullPageScreenshot: true,
viewportSize: {
width: 1440,
height: 900,
}
}]
]
```## Usage
The service adds 2 global.browser commands:
- takeSnapshot
- takeSnapshotOfRegion### Example
`browser.takeSnapshot('Login page');`
`browser.takeSnapshotOfRegion('Login page', Target.window().fully())`