Skip to content

Electron Axe Builder Analyze #1141

Open
@fras2560

Description

@fras2560

Product

playwright

Product Version

4.10.1

Latest Version

  • I have tested the issue with the latest version of the product

Issue Description

Expectation

Able to run await new AxeBuilder({page}).analyze();

Actual

Error: browserContext.newPage: Protocol error (Target.createTarget): Not supported
Please check out https://github.com/dequelabs/axe-core-npm/blob/develop/packages/playwright/error-handling.md

How to Reproduce

Essentially running code from playwright example just using electron app.

Additional context

Electron Project using Electron-Forge. Running test against package electron application on MacOs. Able to run in Legacy Mode. Saw a note saying to report issue so I am submitting this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions