ReconfigureWebDriverCept.php 245 B

12345678910
  1. <?php
  2. $I = new WebGuy($scenario);
  3. $I->wantTo('test two different browsers in one test');
  4. $I->changeBrowser('chrome');
  5. $I->amOnPage('/user-agent');
  6. $I->see('Chrome');
  7. $I->changeBrowser('firefox');
  8. $I->amOnPage('/user-agent');
  9. $I->see('Firefox');