Skip to content

[Question] Is there a way to prevent "Translate" suggestion popup on Edge? #16126

Closed

Description

@freesiafreesia

When Playwright navigates to the particular page, Edge shows "Translate the page" suggestion popup.
edge_sample

The problem is, Playwright always returns timeout exception on WaitForURLAsync just after the popup is shown.

await page1.Locator("text=goto_url1").ClickAsync(); // <- Translate popup is shown
await page1.WaitForURLAsync("http://url1"); // <- Timeout exception occurs

Is there any way to prevent showing the "Translate" suggestion popup programmatically against Edge?
I tried Locale setting on the BrowserNewContextOptions, but it didn't help.

Activity

  1. mxschmitt commented on Aug 2, 2022

    @mxschmitt
    Contributor

    Fix is on the way, should be shipped with 1.25.

  2. mxschmitt commented on Jul 22, 2025

    @mxschmitt
    Contributor

    Reopening - Chromium removed the Translate feature - we should check if this regresses this bug.

  3. mxschmitt commented on Jul 28, 2025

    @mxschmitt
    Contributor

    Looks like its working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions