require_once 'PHPUnit/Extensions/SeleniumTestCase.php';
class NewTest extends PHPUnit_Extensions_SeleniumTestCase
{
function setUp()
{
$this->setBrowser("*chrome");
$this->setBrowserUrl("https://192.168.0.85/");
}
function testMyTestCase()
{
$this->open("/backoffice/");
$this->type("username", "admin");
$this->type("password", "admin");
$this->click("//input[@value='Login']");
$this->waitForPageToLoad("30000");
$this->click("editfilter");
$this->click("//tr[4]/td/a/h3");
$this->waitForPageToLoad("30000");
$this->click("addnewf");
$this->click("link=Log off");
$this->waitForPageToLoad("30000");
$this->click("//tr[8]/td[2]/a/h3");
$this->waitForPageToLoad("30000");
}
}
Создали вот такой вот скриптик, внимание вопрос : а как мне заставить принимать сертификат с сайта ? Тестирую пока под FF