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
I got the exception "No frame for given id found", which I believe from the chromium's inspector_page_agent.cc.
I try to handle .click() of ElementHandle which open new page (tab). Inside the new page, it has iframe. I got an exception only if the iframe was too slow to load even though the page was actually opened.
I have tried to get the page from browser.pages but it's triggered the same exception.
I have tried to get the target from browser.targets it's successful to get the target list, but when I try to get the page from the target via await target.page it's also triggered the same exception.
I'm sorry, I don't know how to reproduce the situation (the slow loading iframe), so I can not submit the related code here.
I can not use the page, also can not close it via other methods.
From the above chromium exception, I think it's related to the puppeteer-dartprotocol of page: setDocumentContent and createIsolatedWorld, but still don't know how to add extra information related to it.
does anyone have an idea how to get the page or just close the page?
Hi,
thank you for the
puppeteer-dart
library.I got the exception "No frame for given id found", which I believe from the chromium's inspector_page_agent.cc.
I try to handle
.click()
ofElementHandle
which open new page (tab). Inside the new page, it has iframe. I got an exception only if the iframe was too slow to load even though the page was actually opened.this is my code to get the target:
I have tried to get the
page
frombrowser.pages
but it's triggered the same exception.I have tried to get the
target
frombrowser.targets
it's successful to get the target list, but when I try to get the page from the target viaawait target.page
it's also triggered the same exception.I'm sorry, I don't know how to reproduce the situation (the slow loading iframe), so I can not submit the related code here.
I can not use the
page
, also can not close it via other methods.From the above chromium exception, I think it's related to the
puppeteer-dart
protocol of page:setDocumentContent
andcreateIsolatedWorld
, but still don't know how to add extra information related to it.does anyone have an idea how to get the page or just close the page?
thank you.
ps: I also post this question on StackOverflow a few days ago.
The text was updated successfully, but these errors were encountered: