waitForTimeout
Type:
<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: '1500'
})
mql.render(data)
You can specify the value in any of the following human-readable way:
https://microlink.io&timeout=15s # 1500 https://microlink.io&timeout=15secs # 1500 https://microlink.io&timeout=15second # 1500 https://microlink.io&timeout=15seconds # 1500 https://microlink.io&timeout=1500 # 1500
waitForTimeout
Type:
<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: '1500'
})
mql.render(data)
You can specify the value in any of the following human-readable way:
https://microlink.io&timeout=15s # 1500 https://microlink.io&timeout=15secs # 1500 https://microlink.io&timeout=15second # 1500 https://microlink.io&timeout=15seconds # 1500 https://microlink.io&timeout=1500 # 1500