| Field | Type | Description | Default |
|---|---|---|---|
| loadState | one of: - string - object(Load state (detailed)) | Required. Load the cookies and localStorage saved by saveState, or by Playwright’s storageState, into the open site. Open the site with goTo first. | — |
{"loadState": "auth.json"}
{"loadState": {"path": "auth.json","directory": "../.auth"}}