Skip to content

Playwright API

ts
import { createPlaywrightConfig, test, expect } from 'untestutils/playwright'

createPlaywrightConfig

OptionDescription
recipes / recipesModuleRecipe map / path
prewarmIds to prepare
session / artifactsRootArtifact namespace
browsersAuto projects if projects omitted
workers / fullyParallelPlaywright pool
Other Playwright config fields

Fixtures: harness, baseURL, page, … via test from this entry.

See Playwright guide · Drivers (host).

Released under the MIT License.