Skip to content
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

Problems with interacting with page elements after closing iframe on Chrome 94 #5536

Open
pawlakmaly opened this issue Oct 4, 2021 · 0 comments

Comments

@pawlakmaly
Copy link

pawlakmaly commented Oct 4, 2021

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.

Bug report

  • Node Version: v14.17.0
  • Protractor Version: 7.0.0
  • Browser(s): Chrome : 94.0.4606.61
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant