waitForSelector
Type:
<string>
It tells the browser to wait until a specific
CSS selector
appears over the target url.- CLI
- JavaScript
- Shell
- Python
- Ruby
const mql = require('@microlink/mql')
const { status, data } = await mql('https://dev.to', { screenshot: true, waitForSelector: 'main' })
mql.render(data)