Skip to main content

launch_playwright

Function launch_playwright 

Source
pub async fn launch_playwright() -> Result<Playwright>
Expand description

Launch and return a new Playwright driver instance.

This starts the Playwright Node.js server process that manages browser lifecycle and CDP communication. It must succeed before you can launch or connect to any browser. The returned Playwright handle should be kept alive for the duration of the session.