Open Bug 2080974 Opened 1 month ago Updated 17 days ago

Migrate select_page to WebDriver BiDi using browsingContext.activate

Categories

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

task
Points:
2

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: jdescottes, Assigned: hbenl)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [webdriver:m22])

select_page currently uses this.driver.switchTo().window(handles[index]!); to focus a tab. Instead we should use the WebDriver BiDi command browsingContext.activate.

To some extent, we don't necessarily need to "select" a tab for BiDi as much as for classic, as there is no notion of "current" context in BiDi. But for now I think we should just migrate the tool.

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