Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/punktde/codeception-webdriver
https://github.com/punktde/codeception-webdriver
codeception
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/punktde/codeception-webdriver
- Owner: punktDe
- License: gpl-3.0
- Created: 2019-07-31T12:08:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-18T11:55:48.000Z (3 months ago)
- Last Synced: 2024-11-14T21:42:21.150Z (2 months ago)
- Topics: codeception
- Language: PHP
- Size: 42 KB
- Stars: 1
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# punktde/codeception-webdriver
## Gherkin Steps and additional module functions for the Codeception Webdriver module
### How to use
#### Additional module to store text and compare it later
Use the module `PunktDe\Codeception\Webdriver\Module\Storage` in your `codeception.yaml`:
```yaml
modules:
enabled:
- PunktDe\Codeception\Webdriver\Module\Storage
```#### Gherkin steps
You can either use the trait `PunktDe\Codeception\Webdriver\ActorTraits\Webdriver` in your testing actor, which will add browser controls, checkers, cookie functions and functions
to switch between frames or windows. Or if you only need some of the functionality you can use these specific traits:* `PunktDe\Codeception\Webdriver\ActorTraits\Checks`
* `PunktDe\Codeception\Webdriver\ActorTraits\Controls`
* `PunktDe\Codeception\Webdriver\ActorTraits\Cookie`
* `PunktDe\Codeception\Webdriver\ActorTraits\Switchers`The trait to use the storage module is all by itself, you have to include that even if you included the complete `PunktDe\Codeception\Webdriver\ActorTraits\Webdriver` trait.
##### Example actor
```php