CodeceptionAutoFill
A PHP Class for filling fields automatically on browser using Codeception Scenario., (*1)
Installation
Execute composer command., (*2)
composer require sukohi/codeception-auto-fill:1.*
Usage
Set the following code before </body> in your HTML., (*3)
<?php echo \Sukohi\CodeceptionAutoFill\CodeceptionAutoFill::js('PATH/TO/YOUR/CODECEPTION/SCENARIO'); ?>
Now the page that you set the above tag has new JavaScript code.
And then you can fill fields by press Shift + Enter like shortcut key., (*4)
Supporting methods
This package supports the next method of Codeception., (*5)
- fillField
- selectOption
- checkOption
- uncheckOption
- submitForm
Note
As of now, you possibly can NOT use this package if you use Codeception module like Laravel., (*6)
License
This package is licensed under the MIT License., (*7)
Copyright 2016 Sukohi Kuhoh, (*8)