Skip to content

Commit

Permalink
fix: remove deprecated code
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Nov 3, 2023
1 parent 429751e commit 1b66d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export async function getPage(url: string) {

if (await page.$('.olp-text-box') !== null) await page.click('.olp-text-box')

await page.waitForTimeout(1500)
await new Promise(r => setTimeout(r, 1500))

const html = await page.evaluate(() => document.body.innerHTML).catch(e => debug.log(e, 'error'))

Expand Down

0 comments on commit 1b66d8d

Please sign in to comment.