Spaces:
Sleeping
Sleeping
and
commited on
Commit
·
dd154fc
1
Parent(s):
5c77170
index.mjs
CHANGED
|
@@ -119,7 +119,6 @@ async function evaluate(url, code) {
|
|
| 119 |
await locks.request('playwright_browser', async lock => {
|
| 120 |
browser = globalThis.state.browser = await chromium.launch({
|
| 121 |
args: ['--disable-web-security'] //https://github.com/microsoft/playwright/issues/17631
|
| 122 |
-
bypassCSP: true,
|
| 123 |
});
|
| 124 |
context = globalThis.state.context = await browser.newContext({
|
| 125 |
javaScriptEnabled: true,
|
|
|
|
| 119 |
await locks.request('playwright_browser', async lock => {
|
| 120 |
browser = globalThis.state.browser = await chromium.launch({
|
| 121 |
args: ['--disable-web-security'] //https://github.com/microsoft/playwright/issues/17631
|
|
|
|
| 122 |
});
|
| 123 |
context = globalThis.state.context = await browser.newContext({
|
| 124 |
javaScriptEnabled: true,
|