After updating Chrome to version 94 I'm start getting problems with my tests after closing iframe in it.
If I wait for disappearing of iframe using below code:
await browser.wait(ExpectedConditions.stalenessOf(el), timeout, `wait for Absence of: ${el.locator()} (timeout ${timeout})`);
I ended up with timeout.
When I change this just to wait for element be not visible and then switch back to default frame, chrome just crash:
WebDriverError: unknown error: session deleted because of page crash
from unknown error: cannot determine loading status
from tab crashed
(Session info: headless chrome=94.0.4606.61)
(Driver info: chromedriver=94.0.4606.61 (418b78f5838ed0b1c69bb4e51ea0252171854915-refs/branch-heads/4606@{#1204}),platform=Windows NT 10.0.19043 x86_64)
It worked ok on chrome 93 and starts to failing on chrome 94.
After updating Chrome to version 94 I'm start getting problems with my tests after closing iframe in it.
If I wait for disappearing of iframe using below code:
I ended up with timeout.
When I change this just to wait for element be not visible and then switch back to default frame, chrome just crash:
It worked ok on chrome 93 and starts to failing on chrome 94.
Bug report
v14.17.0
7.0.0
Chrome : 94.0.4606.61