It seems like if a test opens a new tab and then more test continue, they can fail because of the opened tab. I added support to close the tab with the JSON Wire Protocol and after that, the test would pass (tried it 5 time with no problems).
We should add support for this to be able to combat this issue. The close() action will will close the current window and autmatically select the parent window.
It seems like if a test opens a new tab and then more test continue, they can fail because of the opened tab. I added support to close the tab with the JSON Wire Protocol and after that, the test would pass (tried it 5 time with no problems).
We should add support for this to be able to combat this issue. The
close()
action will will close the current window and autmatically select the parent window.Related issues: https://github.com/dalekjs/dalek-internal-webdriver/issues/9 https://github.com/dalekjs/dalek-driver-native/issues/15