D
D
Denis99992015-12-20 19:28:28
PHP
Denis9999, 2015-12-20 19:28:28

Why are some commands not working in Selenium WebDriver?

Faced such a problem, some commands in selenium webdriver on php do not work. I do everything by examples:

$webdriver->connect("firefox");                  //работает
$webdriver->get("http://google.com/");     //работает
$webDriver->findElement(WebDriverBy::id('signIn'));    //не работает
$webDriver->sendKeys('php-webdriver');                      //не работает

Tell me what's the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2015-12-20
@alexey-m-ukolov

Well, there is no element on google.com with id signIn .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question