Readonly[ReadonlyTypeStatic Readonly_Static Readonly[Static Readonly[Static Optional[ignoreStatic Readonly[Static Readonly[Static Readonly[Static Readonly[Static Optional[typeStatic Optional[unifyStatic ReadonlyIdentifierStatic ReadonlykeyStatic ReadonlyServiceStatic Optional ReadonlystackStatic[iterator]Static[StaticcontextStaticofStaticpipeStatictoStaticto
Most of the time you want to use the same kind of browser and configuration every time you use Playwright.
PlaywrightEnvironmentis a service that allows you to configure how browsers are launched once. You can then usePlaywrightEnvironment.browserto start browsers scoped to the current lifetime. They will be closed when the scope is closed.You can use withBrowser to provide the
PlaywrightBrowserservice to the wrapped effect. This also allows you to re-use the same browser as many times as you want.Since
0.1.0