Closed
Bug 2080969
Opened 1 month ago
Closed 22 days ago
Migrate set_viewport_size to WebDriver BiDi using browsingContext.setViewport
Categories
(Developer Infrastructure :: Firefox MCP, task, P2)
Developer Infrastructure
Firefox MCP
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jdescottes, Assigned: jdescottes)
References
(Blocks 1 open bug)
Details
(Whiteboard: [webdriver:m22])
Attachments
(1 external file)
The set_viewport_size tool still uses this.driver.manage().window().setRect({ width, height });. It should be migrated to use WebDriver BiDi.
Note that migrating it to browsingContext.setViewport changes the behavior, but matches the description: at the moment, the classic API resizes the window, setViewport will only resize the viewport.
If we want to allow to resize the window as well, we can use browser.setClientWindowState (either for this tool or for another one).
Comment 1•1 month ago
|
||
(via GitHub webhook, authenticated as firefox-devtools-mcp@bots.tld)
| Assignee | ||
Updated•29 days ago
|
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
| Assignee | ||
Updated•22 days ago
|
Status: ASSIGNED → RESOLVED
Closed: 22 days ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•