click

Type:
<string> | <string[]>
It clicks the DOM elements matching the given over the target url.
  • CLI
  • JavaScript
  • Shell
  • Python
  • Ruby
const mql = require('@microlink/mql')

const { status, data } = await mql('https://microlink.io', { screenshot: true, click: '#features' })

mql.render(data)
It can be combined with other browser interaction, such as scroll, to mutates the browser page state.