sukohi/codeception-auto-fill
Composer 安装命令:
composer require sukohi/codeception-auto-fill
包简介
A PHP Class for filling fields automatically on browser using Codeception Scenario.
README 文档
README
A PHP Class for filling fields automatically on browser using Codeception Scenario.
Installation
Execute composer command.
composer require sukohi/codeception-auto-fill:1.*
Usage
Set the following code before </body> in your HTML.
<?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.
Supporting methods
This package supports the next method of Codeception.
- fillField
- selectOption
- checkOption
- uncheckOption
- submitForm
Note
As of now, you possibly can NOT use this package if you use Codeception module like Laravel.
License
This package is licensed under the MIT License.
Copyright 2016 Sukohi Kuhoh
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-04-01