| 1 | <?php |
||
| 9 | class JavascriptContext extends RawMinkContext |
||
|
|
|||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @BeforeScenario |
||
| 13 | * |
||
| 14 | * @param BeforeScenarioScope $scope |
||
| 15 | */ |
||
| 16 | public function maximizeWindow(BeforeScenarioScope $scope) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @When /^I maximize the window/ |
||
| 25 | */ |
||
| 26 | public function iMaximizeTheWindow() |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @When /^I minimize the window/ |
||
| 34 | */ |
||
| 35 | public function iMinimizeTheWindow() |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @When /^I resize the window to (\d+)x(\d+)/ |
||
| 42 | */ |
||
| 43 | public function iResizeTheWindow($width, $height) |
||
| 47 | } |
||
| 48 |