waitForTimeout

Type:
<string> | <number>

It tells the browser to wait a quantity of time in milliseconds before processing the content over the target url.
  • CLI
  • JavaScript
  • Shell
  • Python
  • Ruby
const mql = require('@microlink/mql')

const { status, data } = await mql('https://dev.to', {
  screenshot: true,
  waitForTimeout: 3000
})

mql.render(data)
The value provided in the following formats:
  • as number in milliseconds (e.g., 3000).
  • as humanized representation of the number (e.g., '3s').
The following humanized number variations are supported:
https://microlink.io&waitForTimeout=3s       # 3000
https://microlink.io&waitForTimeout=3secs    # 3000
https://microlink.io&waitForTimeout=3second  # 3000
https://microlink.io&waitForTimeout=3seconds # 3000