Blame view

vendor/codeception/base/tests/web/ReconfigureWebDriverCept.php 245 Bytes
8ec727c1   曹明   初始化代码提交
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');