Blame view

vendor/codeception/base/tests/web/ReconfigureWebDriverCept.php 245 Bytes
2e86c939   xu   “首次提交”
1
2
3
4
5
6
7
8
9
<?php
$I = new WebGuy($scenario);
$I->wantTo('test two different browsers in one test');
$I->changeBrowser('chrome');
$I->amOnPage('/user-agent');
$I->see('Chrome');
$I->changeBrowser('firefox');
$I->amOnPage('/user-agent');
$I->see('Firefox');