diff --git a/test/integration/playwright-core-esm.mjs b/test/integration/playwright-core-esm.mjs new file mode 100644 index 00000000..5d383089 --- /dev/null +++ b/test/integration/playwright-core-esm.mjs @@ -0,0 +1,7 @@ +import playwright from 'playwright-core'; + +if (playwright.chromium.name() !== 'chromium') + throw new Error('playwright-core-esm: could not get name') + +if (!playwright.chromium.executablePath()) + throw new Error('playwright-core-esm: could not get executablePath')