use playwright-core package
This commit is contained in:
parent
2badb4fe0b
commit
096e30ce0c
2
index.js
2
index.js
|
@ -1,4 +1,4 @@
|
|||
import { firefox } from 'playwright';
|
||||
import { firefox } from 'playwright-core';
|
||||
|
||||
const browser = await firefox.launch();
|
||||
const context = await browser.newContext();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"playwright": "1.22.2"
|
||||
"playwright-core": "1.22.2"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue