Skip to content

Upstream docs: web emulateMedia applies to all open and future tabs (tester-army/e2e#1772) #1633

Closed

Description

@kblok

Upstream commit b56e8ed (e2e-inc/e2e#1772), docs/reference/web.mdx: the tabs section said emulateMedia sets media on the active tab and later tabs like setViewport. It now says emulateMedia changes media on all open and future tabs and links to the media-emulation section. setViewport still sizes the active tab and every tab opened after it.

Port: check what the tabs and media-emulation text in docs-site/src/content/docs/features/browser.md, the EmulateMedia XML doc and skills/e2e-dotnet/references/ say about tab scope. Fix them if they differ from upstream, and confirm the web engine behaves as the new text says.

Activity

  1. kblok commented on Nov 14, 2026

    @kblok
    MemberAuthor

    Already on main: Browser.EmulateMediaAsync XML doc, skills/e2e-dotnet/references/writing-tests.md and docs-site migrate/playwright.mdx all say emulateMedia applies to every open and future tab, matching upstream e2e-inc/e2e#1772. WebEngine applies media to all open tabs (EmulateOnOthersAsync) and to new tabs as they appear; MediaEmulationTests covers it. Introduced in 9243c62 (#1546). No change needed.


    Generated by Claude Code

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions