Closed Bug 2080970 Opened 1 month ago Closed 18 days ago

Migrate accept_dialog and dismiss_dialog to WebDriver BiDi using browsingContext.handleUserPrompt

Categories

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

task
Points:
2

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jdescottes, Assigned: hbenl)

References

(Blocks 1 open bug)

Details

(Whiteboard: [webdriver:m22])

Attachments

(1 external file)

The accept_dialog and dismiss_dialog tools still use classic:

      const alert = await this.driver.switchTo().alert();
      // ...
      await alert.accept(); // or .dismiss();

We should migrate both to use browsingContext.handleUserPrompt

Blocks: 2081620
Assignee: nobody → hbenl
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 18 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: