From 8b74d96f1213e3a9e0bc4e6ea9257d6637cd9a5d Mon Sep 17 00:00:00 2001 From: Sjors <72333389+sjorsdonkers@users.noreply.github.com> Date: Tue, 20 May 2025 09:16:32 +0200 Subject: [PATCH 1/3] Playwright support disclaimer --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 60c00158..e7805348 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,9 @@ Fast web automation for AI agents, LLM training, scraping and testing: _Puppeteer requesting 100 pages from a local website on a AWS EC2 m5.large instance. 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. + ## Quick start ### Install from the nightly builds From 5e67f095834f0a744ada5df7d43b9961fe02d191 Mon Sep 17 00:00:00 2001 From: Sjors <72333389+sjorsdonkers@users.noreply.github.com> Date: Tue, 20 May 2025 09:48:08 +0200 Subject: [PATCH 2/3] Disclaimer feedback --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e7805348..5b533df8 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Lightpanda is the open-source browser made for headless usage: - Javascript execution - Support of Web APIs (partial, WIP) -- Compatible with Playwright, Puppeteer through CDP (WIP) +- Compatible with Playwright[^1], Puppeteer through CDP (WIP) Fast web automation for AI agents, LLM training, scraping and testing: @@ -36,8 +36,8 @@ Fast web automation for AI agents, LLM training, scraping and testing: _Puppeteer requesting 100 pages from a local website on a AWS EC2 m5.large instance. 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. +[^1]: **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. Lightpanda makes an effort to add compatibility tests, but we can't cover all scenarios. If you encounter an issue, please create[ a GitHub issue](https://github.com/lightpanda-io/browser/issues) and include the last known working version of the script. ## Quick start From fa5d583657046c2a9ccef06bae5a1951322a3d50 Mon Sep 17 00:00:00 2001 From: Pierre Tachoire Date: Tue, 20 May 2025 10:19:56 +0200 Subject: [PATCH 3/3] fix space --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b533df8..e912887d 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ _Puppeteer requesting 100 pages from a local website on a AWS EC2 m5.large insta See [benchmark details](https://github.com/lightpanda-io/demo)._ [^1]: **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. Lightpanda makes an effort to add compatibility tests, but we can't cover all scenarios. If you encounter an issue, please create[ a GitHub issue](https://github.com/lightpanda-io/browser/issues) and include the last known working version of the script. +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. Lightpanda makes an effort to add compatibility tests, but we can't cover all scenarios. If you encounter an issue, please create a [GitHub issue](https://github.com/lightpanda-io/browser/issues) and include the last known working version of the script. ## Quick start