public function ErrorHandlingTest::testKeyPressNotFoundElement in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php \Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testKeyPressNotFoundElement()
File
- vendor/
behat/ mink/ driver-testsuite/ tests/ Basic/ ErrorHandlingTest.php, line 242
Class
- ErrorHandlingTest
- @group slow
Namespace
Behat\Mink\Tests\Driver\BasicCode
public function testKeyPressNotFoundElement() {
$this
->getSession()
->visit($this
->pathTo('/index.html'));
$this
->setExpectedException(self::NOT_FOUND_EXCEPTION);
$this
->getSession()
->getDriver()
->keyPress(self::NOT_FOUND_XPATH, 'a');
}