Skip to content

Conversation

@sjorsdonkers
Copy link
Contributor

Adding a disclaimer on Playwright to make sure user's are aware that scripts may break as correctly implemented features get added to the browser.

README.md Outdated
See [benchmark details](https://github.com/lightpanda-io/demo)._

> **Playwright support disclaimer:**
> Due to the nature of Playwright, a script that works with the current version of the browser may not function correctly with a future version. Playwright uses an intermediate JavaScript layer that selects an execution strategy based on the browser's available features. If LightPanda adds a new [Web API](https://developer.mozilla.org/en-US/docs/Web/API), Playwright may choose to execute different code for the same script. This new code path could attempt to use features that are not yet implemented. Puppeteer has proven to be more resilient to changes in the browser.
Copy link
Member

@krichprollsch krichprollsch May 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some comments:

  • why do you use the blockquote > char? It's intentional?
  • I would like to remove "Puppeteer has proven to be more resilient to changes in the browser." part. I'm not sure it's really helpful.
  • I would add 2 things: 1 saying we make the effort to add compatibility tests, but we can't cover all scenarios + asking user to create issue giving a previous version which was working.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • I made it a footnote, so it is now linked to the bottom of the page.
    image
  • Removed puppeteer
  • Added 2 things

@sjorsdonkers sjorsdonkers force-pushed the playwright-support-disclaimer branch from b7dca5c to 8b74d96 Compare May 20, 2025 07:27
@krichprollsch krichprollsch merged commit 36ca783 into main May 20, 2025
1 check passed
@krichprollsch krichprollsch deleted the playwright-support-disclaimer branch May 20, 2025 08:20
@github-actions github-actions bot locked and limited conversation to collaborators May 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants