Open Bug 2080973 Opened 1 month ago Updated 1 day ago

Migrate new_page to WebDriver BiDi using browsingContext.create

Categories

(Developer Infrastructure :: Firefox MCP, task, P2)

task
Points:
2

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: jdescottes, Assigned: hbenl)

References

(Blocks 3 open bugs)

Details

(Whiteboard: [webdriver:m22])

Attachments

(1 external file)

new_page currently uses this.driver.switchTo().newWindow('tab'); to create a new tab. Instead we should use the WebDriver BiDi command browsingContext.create.

Blocks: 2080977

From David Rubino: would be nice to allow new tabs to open in the background, so users can keep using the browser while the agent works.

Today createNewPage uses Selenium switchTo().newWindow('tab'), which then calls switchTo().window() and focuses the new tab. When moving to browsingContext.create, we may expose the background parameter.

Assignee: nobody → hbenl
Status: NEW → ASSIGNED
Blocks: 2081129
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: