-
Notifications
You must be signed in to change notification settings - Fork 849
Description
What are you trying to achieve? (Expected behavior)
Send keys to a text field.
What do you get instead? (Actual behavior)
PHP Fatal error: Uncaught Facebook\WebDriver\Exception\UnknownCommandException: sendKeysToActiveElement
Build info: version: '3.7.1', revision: '8a0099a', time: '2017-11-06T21:07:36.161Z'
System info: host: 'DESKTOP-NJ3HNOF', ip: '199.169.33.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_144'
Driver info: driver.version: RemoteWebDriver in C:\Users\menni\vagrant\vagrant.plinth\git\tests\tests\selenium\php-webdriver\lib\Exception\WebDriverException.php:106
Stack trace:
#0 C:\Users\menni\vagrant\vagrant.plinth\git\tests\tests\selenium\php-webdriver\lib\Remote\HttpCommandExecutor.php(320): Facebook\WebDriver\Exception\WebDriverException::throwException(9, 'sendKeysToActiv...', Array)
#1 C:\Users\menni\vagrant\vagrant.plinth\git\tests\tests\selenium\php-webdriver\lib\Remote\RemoteWebDriver.php(535): Facebook\WebDriver\Remote\HttpCommandExecutor->execute(Object(Facebook\WebDriver\Remote\WebDriverCommand))
#2 C:\Users\menni\vagrant\vagrant.plinth\git\tests\tests\selenium\php-webdriver\lib\Remo in C:\Users\menni\vagrant\vagrant.plinth\git\tests\tests\selenium\php-webdriver\lib\Exception\WebDriverException.php on line 106
Fatal error: Uncaught Facebook\WebDriver\Exception\UnknownCommandException: sendKeysToActiveElement
Build info: version: '3.7.1', revision: '8a0099a', time: '2017-11-06T21:07:36.161Z'
System info: host: 'DESKTOP-NJ3HNOF', ip: '199.169.33.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_144'
Driver info: driver.version: RemoteWebDriver in C:\Users\menni\vagrant\vagrant.plinth\git\tests\tests\selenium\php-webdriver\lib\Exception\WebDriverException.php:106
Stack trace:
#0 C:\Users\menni\vagrant\vagrant.plinth\git\tests\tests\selenium\php-webdriver\lib\Remote\HttpCommandExecutor.php(320): Facebook\WebDriver\Exception\WebDriverException::throwException(9, 'sendKeysToActiv...', Array)
#1 C:\Users\menni\vagrant\vagrant.plinth\git\tests\tests\selenium\php-webdriver\lib\Remote\RemoteWebDriver.php(535): Facebook\WebDriver\Remote\HttpCommandExecutor->execute(Object(Facebook\WebDriver\Remote\WebDriverCommand))
#2 C:\Users\menni\vagrant\vagrant.plinth\git\tests\tests\selenium\php-webdriver\lib\Remo in C:\Users\menni\vagrant\vagrant.plinth\git\tests\tests\selenium\php-webdriver\lib\Exception\WebDriverException.php on line 106
How could the issue be reproduced? (Steps to reproduce)
$driver->getKeyboard()->sendKeys("text");
Details
I have tested my code on Chrome and Edge, and it works flawlessly, however on IE and Firefox (latest geckodriver and Firefox) I get the same error.
- Php-webdriver version: Latest community commit as of writing.
- PHP version: 7.1.10
- Selenium server version: 7.1 standalone
- Operating system: Windows 10 Creators Update
- Browser used + version: Internet Explorer 11.674.15063.0