Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check and log any javascript errors when running theme report #15

Open
jonespm opened this issue Nov 26, 2024 · 0 comments
Open

Check and log any javascript errors when running theme report #15

jonespm opened this issue Nov 26, 2024 · 0 comments

Comments

@jonespm
Copy link
Member

jonespm commented Nov 26, 2024

When we run through the theme report, it would also be useful to check if there are any javascript errors in the custom subaccounts because of a local theme or from a theme change we make.

I believe this is done using this page.on('pageerror') before the page is navigated to.

https://playwright.dev/docs/api/class-page#page-event-page-error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant