-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
'browser.getTimeouts is not a function' error with 1.5.0 #473
Comments
Hi @sebage, is the error also occurring with the old headless mode? |
Hi @Siolto , |
as
Could you probably post the relevant part of your wdio /wdi5 conf file?
|
Hi @vobu, Following are the browser specific config parts, please let me know if i miss anything. Same configuration works with WDI5 1.4.0 without the error.
|
+1 |
|
closes #473 (and merged by the mighty power of grayskull)
Describe the bug
With version 1.5.0 we receive the following error when executing our tests in chrome headless mode:
[0-0] 2023-05-19T07:12:44.481Z ERROR @wdio/utils:shim: TypeError: browser.getTimeouts is not a function
[0-0] at Service. (C:\Users\xyz\git\wdi5_tests\node_modules\wdio-ui5-service\dist\service.js:89:54)
[0-0] at step (C:\Users\xyz\git\wdi5_tests\node_modules\wdio-ui5-service\dist\service.js:33:23)
[0-0] at Object.next (C:\Users\xyz\git\wdi5_tests\node_modules\wdio-ui5-service\dist\service.js:14:53)
[0-0] at fulfilled (C:\Users\xyz\git\wdi5_tests\node_modules\wdio-ui5-service\dist\service.js:5:58)
[0-0] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
In version 1.4.0 or headfull mode the error doesn't occur. We are using the new headless mode of chrome ('--headless=new').
After the error the test continues to run and is reported as successful.
Runtime Env (please complete the following information):
wdi5/wdio-ui5-service
-version: 1.5.0UI5
version: 1.108.2wdio
-version (output ofwdio --version
): 7.31.1node
-version (output ofnode --version
): v18.16.0Additional context
Chrome started with '--headless=new'.
The text was updated successfully, but these errors were encountered: