playwright/packages/playwright-core
Stephen Li 0b1b718afc
feat(core): type addInitScript function arg (#17651)
Allows autocomplete on the arg passed to the init script

```ts
await page.addInitScript((arg) => {
    window.localStorage.setItem('init_user_state', JSON.stringify(arg.initUserState)) // arg was previously 'any'
}, {
    initUserState: { foo: 'bar' },
})
```
2022-10-05 09:08:30 -07:00
..
bin feat(containers): introduce separate container commands (#17541) 2022-09-22 13:38:54 -07:00
bundles chore: bump 'ip' peer dependency (#15750) 2022-07-18 20:04:26 +02:00
src chore: internal selectors (#17827) 2022-10-05 08:45:10 -07:00
types feat(core): type addInitScript function arg (#17651) 2022-10-05 09:08:30 -07:00
.npmignore chore: babel, expect, zip bundles (#13588) 2022-04-18 11:31:58 -07:00
browsers.json feat(firefox-beta): roll to r1360 (#17793) 2022-10-03 17:07:18 -07:00
cli.js chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
index.d.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
index.js chore: sunset Node.js 12 (#16512) 2022-08-15 18:10:04 +02:00
index.mjs fix: export request from index.jsm (#13158) 2022-03-30 09:35:47 -07:00
package.json chore: move container integration back to playwright-core (#17487) 2022-09-21 12:45:43 -07:00
README.md chore: drop dependency on playwright-core in all our packages (#2318) 2020-05-21 13:18:15 -07:00
ThirdPartyNotices.txt chore: bump 'ip' peer dependency (#15750) 2022-07-18 20:04:26 +02:00

playwright-core

This package contains the no-browser flavor of Playwright.