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
Describe the bug
If browser have a new popup window and we try to send command to non focus window.
The script will freeze due to chrome will not allow to send command if browser under inactive mode.
Workaround is you need to put test timeout for prevent.
To Reproduce
Reproduce new window issue
[Teardown] Close All Browser
${HEADLESS} Get variable value ${HEADLESS} ${False}
&{options} = create dictionary headless=${HEADLESS}
Open browser http://127.0.0.1:7272 options=${options}
Run Async Keywords
... Wait for new window open AND
... Click Element id=readdocs
Sleep 2s
Click Element id=readdocs
Workaround and tag [Timeout] and put the maximum execution limit instead.
Expected behavior
Keyword should fail after timeout 30s
The text was updated successfully, but these errors were encountered:
atthaboon
changed the title
Use Run Async Keywords with Wait For New Window Open if keyword fail browser will freeze
Send command to inactive browser, The keyword will freeze and never timeout
Aug 27, 2020
Describe the bug
If browser have a new popup window and we try to send command to non focus window.
The script will freeze due to chrome will not allow to send command if browser under inactive mode.
Workaround is you need to put test timeout for prevent.
To Reproduce
Reproduce new window issue
[Teardown] Close All Browser
${HEADLESS} Get variable value ${HEADLESS} ${False}
&{options} = create dictionary headless=${HEADLESS}
Open browser http://127.0.0.1:7272 options=${options}
Run Async Keywords
... Wait for new window open AND
... Click Element id=readdocs
Sleep 2s
Click Element id=readdocs
Workaround and tag [Timeout] and put the maximum execution limit instead.
Expected behavior
Keyword should fail after timeout 30s
The text was updated successfully, but these errors were encountered: