Skip to content

Lightpanda: the headless browser designed for AI and automation

doc: include full argument list for our typical wpt run

Karl Seguin9c526708d9d4
diff --git a/README.md b/README.md
index 102637744..c06432927 100644
--- a/README.md
+++ b/README.md
@@ -373,7 +373,7 @@ Tests](https://web-platform-tests.org/).
We use [a fork](https://github.com/lightpanda-io/wpt/tree/fork) including a custom
[`testharnessreport.js`](https://github.com/lightpanda-io/wpt/blob/fork/resources/testharnessreport.js). Results are [published](https://perf.lightpanda.io/wpt) daily.
-For reference, you can easily execute a WPT test case with your browser via
+For reference, you can execute a WPT test case with your browser via
[wpt.live](https://wpt.live).
#### Configure WPT HTTP server
@@ -416,7 +416,14 @@ First start the WPT's HTTP server from your `wpt/` clone dir.
Run a Lightpanda browser
```
-zig build run -- --insecure-disable-tls-host-verification
+zig build -Dwpt_extensions run -- serve \
+ --ws-max-concurrent 64 \
+ --insecure-disable-tls-host-verification \
+ --load-resources iframe \
+ --load-resources image \
+ --load-resources worker \
+ --load-resources stylesheet \
+ --experimental-features cors
```
Then you can start the wptrunner from the demo's clone dir:
@@ -437,7 +444,7 @@ Also `--concurrency` define the concurrency limit.
it's useful to build in `releaseFast` mode to make tests faster.
```
-zig build -Doptimize=ReleaseFast run
+zig build -Dwpt_extensions -Doptimize=ReleaseFast run -- serve ...
```
## Contributing