Skip to content

axeInjectionScript

axeInjectionScript(source): string

Defined in: packages/core/src/capture/a11y/axe-source.ts:27

Wrap the axe source so evaluating it twice in one document is a no-op. Evaluate it as a string (CDP Runtime.evaluate: not bound by the page’s CSP and works over remote browsers, since the source travels over the wire instead of a file path).

string

string