0
Codeception有一个执行硒函数的方法。我需要一个变量,站点名称传输功能,它执行这个方法里面,所以我的代码codeception - 在executeInSelenium方法中传递变量
$I->executeInSelenium(function(\WebDriver $webdriver) {
$webdriver->get('http://google.com');
});
可能是这样的:
$I->goToSite('http://google.com');