Skip to content

Commit

Permalink
click first sprite/tune
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdenio committed Feb 9, 2022
1 parent 2408e55 commit 373bd2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export default async function handler(req, res, dev = false) {
}),
]);
});
await (await page.$(".sprite-entry"))?.click();
await page.click(".run-button");
const file = await page.screenshot();

Expand Down

0 comments on commit 373bd2b

Please sign in to comment.