Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implicit wait timeouts with Firefox 55 #414

Open
epoxa opened this issue Sep 15, 2017 · 10 comments
Open

Implicit wait timeouts with Firefox 55 #414

epoxa opened this issue Sep 15, 2017 · 10 comments

Comments

@epoxa
Copy link

epoxa commented Sep 15, 2017

Hi all,
Calling
$this->timeouts()->implicitWait(5000);
leads to error:

PHPUnit_Extensions_Selenium2TestCase_WebDriverException: POST /session/76d6c302-bafc-4a65-ac20-a8ddd453b2a7/timeouts/implicit_wait did not match a known command
Build info: version: '3.5.3', revision: 'a88d25fe6b', time: '2017-08-29T12:54:15.039Z'
System info: host: 'HP', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-62-generic', java.version: '1.8.0_111'
Driver info: driver.version: unknown

Firefox 55.
geckodriver 0.18.0
PHPUnit 5.7.21
How can I set timeouts other way? Thanks

@giorgiosironi
Copy link
Owner

This looks like a problem with the Firefox version or driver? The API to use is taken from https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidtimeoutsimplicit_wait

@ankitjain28may
Copy link

@giorgiosironi Any other way to solve this issue ?

@epoxa
Copy link
Author

epoxa commented Oct 24, 2017

@ankitjain28may Did you get the similar issue with Firefox?
I fear the link mentioned by @giorgiosironi is outdated. It marked as "Status: OBSOLETE See current W3C specification for WebDriver".
Is it possible that latest FF driver changed implicit waits behavior?
Btw the same configuration works perfect with Chrome driver. And all other methods of FF driver I used are works perfect either.

@ankitjain28may
Copy link

@epoxa Yes, I am getting the same problem in Firefox (v 55.0)

@eugeniominissale
Copy link

I'm facing the same problem with Firefox 56, Mac OS X 10.12 and selenium-server-standalone-3.6.0.jar with Python.

@kolesar-andras
Copy link

Same problem here with Firefox 56 on Ubuntu, geckodriver 0.19.0, PHPUnit 5.7.22. Chrome works fine.

PHPUnit_Extensions_Selenium2TestCase_WebDriverException: POST /session/2636302c-618e-4646-b168-8e0101ffdd93/timeouts/implicit_wait did not match a known command
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T16:15:40.131Z'
System info: host: 'kolesar', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-92-generic', java.version: '1.8.0_131'
Driver info: driver.version: unknown

@epoxa
Copy link
Author

epoxa commented Apr 3, 2018

Try this workaround:
$this->__call('timeouts', [ 'pageLoad' => 5000, 'script'=> 5000, 'implicit' => 5000, ]);

@gohelkiran
Copy link

gohelkiran commented May 29, 2018

same issue with v3.12.0 standalone server and latest geckodriver v0.20.1

Fatal error: Uncaught exception 'Facebook\WebDriver\Exception\UnknownCommandException' with message 'POST /session/27022282-a690-4626-87a3-948dc8b9510e/timeouts/implicit_wait did not match a known command Build info: version: '3.12.0', revision: '7c6e0b3', time: '2018-05-08T15:15:08.936Z' System info: host: 'WIN-SR99V6JM70G', ip: '10.0.0.249', os.name: 'Windows Server 2008 R2', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_171' Driver info: driver.version: unknown' in \vendor\facebook\webdriver\lib\Exception\WebDriverException.php:106 Stack trace: #0 \vendor\facebook\webdriver\lib\Remote\HttpCommandExecutor.php(320): Facebook\WebDriver\Exception\WebDriverException::throwException(9, 'POST /session/2...', Array) #1 \vendor\facebook\webdriver\lib\Remote\RemoteWebDriver.php(535): Facebook\WebDriver\Remote\HttpCommandExecutor->execute(Object(Facebook\WebDriver\Remote\WebDriverCommand)) #2 \vendor\facebook\webdriver\lib\Remote\RemoteExecuteMethod.php(40): Facebook\WebDriver in \vendor\facebook\webdriver\lib\Exception\WebDriverException.php on line 106

@jhorbowicz
Copy link

Hi, everyone.

Did anyone find solution to this issue? I had a lot of problems with that as well, I finally managed to run standalone server v 3.4.0 with geckodriver0.21 and it runs well, but with newer i always have error :
Fatal error: Uncaught exception 'Facebook\WebDriver\Exception\UnknownCommandException' with message 'POST /session/{{session_UUID}}/timeouts/implicit_wait did not match a known command

@wethinkagile
Copy link

Same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants