Skip to main content
@qawolf/testkit/web currently exposes readQRCode(page, selector).

Current Signature

Example:

Behavior

The helper:
  • screenshots the locator matched by selector
  • parses the result as PNG
  • decodes the QR code if one is present
  • returns undefined when no QR code is found
Example:
Last modified on June 1, 2026