-
Notifications
You must be signed in to change notification settings - Fork 126
Closed
Closed
Copy link
Description
As seen in the log, there are five pages open in the foreign context.
When closing one of them, it actually closes the page, but fails with ! FAIL: No page with requested id 'page=5e94a56a-ce83-440b-a2ed-9ed455e378b3' found.
This should be fixed.
> Get Browser Catalog then robot.api.logger.console(json.dumps(value, indent=2)) # ΔT: 0.331s
[
{
"type": "firefox",
"id": "browser=6d7d334b-df0d-4d6f-bbd3-1463b337af11",
"contexts": [],
"activeBrowser": false
},
{
"type": "chromium",
"id": "browser=9f0ea140-f93f-40a9-bdff-9938d297adbf",
"contexts": [
{
"type": "context",
"id": "context=d8c96bf0-9c6b-4e77-9116-3ef82fc7cc65",
"activePage": "page=e4de7cad-566b-42c4-a411-cb79229d84a4",
"pages": [
{
"type": "page",
"title": "GitHub - MarketSquare/robotframework-browser: Robot Framework Browser library powered by Playwright.",
"url": "https://github.com/MarketSquare/robotframework-browser#robotframework-browser",
"id": "page=435bf3fc-4fd0-4f40-aa70-2a7c2c644df5",
"timestamp": 1759313463.695
},
{
"type": "page",
"title": "Browser",
"url": "https://marketsquare.github.io/robotframework-browser/Browser.html",
"id": "page=98c3f043-a093-4f23-bb2e-16ce05bd4d39",
"timestamp": 1759313460.24
},
{
"type": "page",
"title": "Fast and reliable end-to-end testing for modern web apps | Playwright",
"url": "https://playwright.dev/",
"id": "page=5e94a56a-ce83-440b-a2ed-9ed455e378b3",
"timestamp": 1759313456.966
},
{
"type": "page",
"title": "Robot Framework",
"url": "https://robotframework.org/",
"id": "page=809a8c00-744e-4af6-842c-a5a7f580e0c8",
"timestamp": 1759312512.642
},
{
"type": "page",
"title": "Browser Library",
"url": "https://robotframework-browser.org/",
"id": "page=e4de7cad-566b-42c4-a411-cb79229d84a4",
"timestamp": 1759313405.54
}
]
},
{
"type": "context",
"id": "context=cdc931c0-822e-473a-8806-f7eb63a6dadc",
"activePage": "page=10b5faa7-98d8-4e6c-a386-7f0e2323f434",
"pages": [
{
"type": "page",
"title": "World Wide Workshop Wednesday | Robot Framework",
"url": "https://wwww.robotframework.org/",
"id": "page=10b5faa7-98d8-4e6c-a386-7f0e2323f434",
"timestamp": 1759313436.454
}
]
}
],
"activeContext": "context=cdc931c0-822e-473a-8806-f7eb63a6dadc",
"activeBrowser": true
}
]
> Close Page page\=5e94a56a-ce83-440b-a2ed-9ed455e378b3 ALL ALL # ΔT: 0.006s
! FAIL: No page with requested id 'page=5e94a56a-ce83-440b-a2ed-9ed455e378b3' found.
> Get Browser Catalog then robot.api.logger.console(json.dumps(value, indent=2))
[
{
"type": "firefox",
"id": "browser=6d7d334b-df0d-4d6f-bbd3-1463b337af11",
"contexts": [],
"activeBrowser": false
},
{
"type": "chromium",
"id": "browser=9f0ea140-f93f-40a9-bdff-9938d297adbf",
"contexts": [
{
"type": "context",
"id": "context=d8c96bf0-9c6b-4e77-9116-3ef82fc7cc65",
"activePage": "page=e4de7cad-566b-42c4-a411-cb79229d84a4",
"pages": [
{
"type": "page",
"title": "GitHub - MarketSquare/robotframework-browser: Robot Framework Browser library powered by Playwright.",
"url": "https://github.com/MarketSquare/robotframework-browser#robotframework-browser",
"id": "page=435bf3fc-4fd0-4f40-aa70-2a7c2c644df5",
"timestamp": 1759313463.695
},
{
"type": "page",
"title": "Browser",
"url": "https://marketsquare.github.io/robotframework-browser/Browser.html",
"id": "page=98c3f043-a093-4f23-bb2e-16ce05bd4d39",
"timestamp": 1759313460.24
},
{
"type": "page",
"title": "Robot Framework",
"url": "https://robotframework.org/",
"id": "page=809a8c00-744e-4af6-842c-a5a7f580e0c8",
"timestamp": 1759312512.642
},
{
"type": "page",
"title": "Browser Library",
"url": "https://robotframework-browser.org/",
"id": "page=e4de7cad-566b-42c4-a411-cb79229d84a4",
"timestamp": 1759313405.54
}
]
},
{
"type": "context",
"id": "context=cdc931c0-822e-473a-8806-f7eb63a6dadc",
"activePage": "page=10b5faa7-98d8-4e6c-a386-7f0e2323f434",
"pages": [
{
"type": "page",
"title": "World Wide Workshop Wednesday | Robot Framework",
"url": "https://wwww.robotframework.org/",
"id": "page=10b5faa7-98d8-4e6c-a386-7f0e2323f434",
"timestamp": 1759313436.454
}
]
}
],
"activeContext": "context=cdc931c0-822e-473a-8806-f7eb63a6dadc",
"activeBrowser": true
}
]
>