mirror of
https://github.com/kou029w/_.git
synced 2025-01-31 06:18:07 +00:00
fix typo
This commit is contained in:
parent
4c1c2ee744
commit
9565232923
3 changed files with 2 additions and 2 deletions
2
playwright/.gitignore
vendored
2
playwright/.gitignore
vendored
|
@ -1,2 +1,2 @@
|
||||||
/node_modules/
|
/node_modules/
|
||||||
/screenshot/
|
/screenshots/
|
||||||
|
|
|
@ -7,7 +7,7 @@ async function main() {
|
||||||
const page = await context.newPage();
|
const page = await context.newPage();
|
||||||
await page.goto("http://whatsmyuseragent.org/");
|
await page.goto("http://whatsmyuseragent.org/");
|
||||||
await page.screenshot({
|
await page.screenshot({
|
||||||
path: `screenshot/${
|
path: `screenshots/${
|
||||||
process.env.PLAYWRIGHT_RUNNER || "example"
|
process.env.PLAYWRIGHT_RUNNER || "example"
|
||||||
}-${browserType}.png`,
|
}-${browserType}.png`,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue