Module
Playwright
- Package
- purescript-playwright
- Repository
- rowtype-yoga/purescript-playwright
#LaunchOptions Source
type LaunchOptions = { args :: Array String, executablePath :: Nullable String }#PageOptions Source
type PageOptions = { viewport :: { height :: Int, width :: Int } }#RoleOptions Source
type RoleOptions = { exact :: Boolean, name :: String }#ScreenshotOptions Source
type ScreenshotOptions = { fullPage :: Boolean, path :: String }#ElementOperation Source
data ElementOperationOperations run synchronously, in order, in one locator evaluation. Native setters are resolved from the named browser-global constructor's prototype, bypassing instance overrides installed by UI frameworks.
Constructors
SetNativeProperty String String ForeignDispatchEvent String { bubbles :: Boolean }
#launchChromium Source
launchChromium :: LaunchOptions -> Effect (Promise Browser)#screenshot Source
screenshot :: Page -> ScreenshotOptions -> Effect (Promise Unit)- Modules
- Playwright
- Playwright.
Test