Configure timeout of browser.perform #3960
Replies: 5 comments
-
You can, in fact. See here |
Beta Was this translation helpful? Give feedback.
-
Oh, ok, thanks. Sry for not looking into the code. |
Beta Was this translation helpful? Give feedback.
-
No worries, this should be added to the docs. |
Beta Was this translation helpful? Give feedback.
-
@Kirdock @beatfactor I have a text field in which the text that I send is quite long. It takes almost 1:30 min to read it. While doing so the session timeout happens after 1 min and so the test fails. What can I do? |
Beta Was this translation helpful? Give feedback.
-
did you try setting |
Beta Was this translation helpful? Give feedback.
-
Description
As far as I know, it is not possible to modify the timeout of
browser.perform(done=>{})
.Neither
timeouts
nortimeoutsImplicitWait
nortimeoutsAsyncScript
are increasing the timeout of10000
ms for perform operations.I have to increase this timeout in order to be able to run a test.
My problem:
When I assign a task to a user I have to create the user first, if there is none. This navigates to another page and creates the users, then it navigates back.
This is not possible with a timeout of 10000ms
Solution:
Make this timeout configurable like other ones
Something like
browser.timeouts('perform', timeout, [callback])
or
browser.perform([timeout], done => {})
Beta Was this translation helpful? Give feedback.
All reactions