Skip to content

Commit

Permalink
extensions/postLoadDelay/postLoadDelay.js: Make eslint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
macbre committed Mar 10, 2024
1 parent 3db1431 commit 633bfd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/postLoadDelay/postLoadDelay.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = function (phantomas) {
// https://github.com/GoogleChrome/puppeteer/blob/v1.11.0/docs/api.md#framewaitforselectororfunctionortimeout-options-args
phantomas.log("Will wait %d second(s) after load", delay);

phantomas.on("beforeClose", async (page) => {
phantomas.on("beforeClose", async () => {
phantomas.log("Sleeping for %d seconds", delay);

return setTimeout(delay * 1000);
Expand Down

0 comments on commit 633bfd1

Please sign in to comment.