Install .NET SDK 8 with installer: https://dotnet.microsoft.com/download/dotnet/8.0
- Checkout the upstream main/release branch of the
playwright
repository. - Checkout the main/release branch of the
playwright-dotnet
repository. - Pick the latest driver from GitHub Action where you want to roll to. For releases, it should be
1.X.Y
. For main branch, it should be something like1.X.Y-<timestamp>
. - By default it will pick the
playwright
project from../playwright
. You can override it by setting thePW_SRC_DIR
environment variable.
./build.sh --roll <driver-version>
This will complete the entire process (download and set the new driver, re-generate API and transport channels, update the README).