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
BrowserContext.pages() does not return the exact count of pages when new pages are launched by application under test (browser with extension)) #1567
Comments
@yury-s : Could you please help me here |
Please provide a complete example which we could use to reproduce the issue locally. |
I am sharing the below code, Could please check if the below code snippet can give you a better idea of the scenario which i am trying. String extensionDirPath = PathToExtension context.pages() --> Returns 1 , but expecting 2 as new tab is opened by click action which. I tried using below page=context().waitForPage(() -> { |
It has something to do with the extension. I cannot reproduce it with regular web pages. We need complete reproduction example. |
Closing as part of the triage process since it seemed stale. Please create a new issue with a detailed reproducible or feature request if you still face issues. |
Version
1.43.0
Steps to reproduce
Expected behavior
browserContext.pages() should return the count of the pages which currently open
Actual behavior
browserContext.pages() does not return the count of new tabs which are opened by application under test
Additional context
No response
Environment
Macbook, Chromium , Java 11
The text was updated successfully, but these errors were encountered: