PHPackages                             punktde/codeception-webdriver - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. punktde/codeception-webdriver

ActiveLibrary[Testing &amp; Quality](/categories/testing)

punktde/codeception-webdriver
=============================

This package provides gherkin steps for the codeception webdriver module

4.4.0(1y ago)1119.6k↓28%2GPL-3.0-or-laterPHP

Since Jul 31Pushed 1y ago5 watchersCompare

[ Source](https://github.com/punktDe/codeception-webdriver)[ Packagist](https://packagist.org/packages/punktde/codeception-webdriver)[ RSS](/packages/punktde-codeception-webdriver/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (23)Used By (0)

punktde/codeception-webdriver
=============================

[](#punktdecodeception-webdriver)

Gherkin Steps and additional module functions for the Codeception Webdriver module
----------------------------------------------------------------------------------

[](#gherkin-steps-and-additional-module-functions-for-the-codeception-webdriver-module)

### How to use

[](#how-to-use)

#### Additional module to store text and compare it later

[](#additional-module-to-store-text-and-compare-it-later)

Use the module `PunktDe\Codeception\Webdriver\Module\Storage` in your `codeception.yaml`:

```
modules:
   enabled:
      - PunktDe\Codeception\Webdriver\Module\Storage
```

#### Gherkin steps

[](#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

[](#example-actor)

```
