You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here https://codeception.com/docs/modules/WebDriver Codeception claims, that default timeouts (connection_timeout and request_timeout) are 30 seconds. Because of the bug, I think they are set to 0 now, which makes curl_exec() later to wait indefinitely.
Hey Guys,
Here https://codeception.com/docs/modules/WebDriver Codeception claims, that default timeouts (
connection_timeout
andrequest_timeout
) are 30 seconds. Because of the bug, I think they are set to 0 now, which makes curl_exec() later to wait indefinitely.Check this code https://github.com/Codeception/module-webdriver/blob/master/src/Codeception/Module/WebDriver.php#L362
by default both values are
null
, but multiplingnull * 1000
results in0
, notnull
. Later here https://github.com/php-webdriver/php-webdriver/blob/main/lib/Remote/RemoteWebDriver.php#L101 it is strictly compared withnull
, but since the value is0
it passes the condition and sets timeout to0
which makes curl to wait indefinitely.The text was updated successfully, but these errors were encountered: