Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create a selector query to get element information.
const query = my.createSelectorQuery(); query.select('#myElement').boundingClientRect(); query.selectViewport().scrollOffset(); query.exec((res) => { console.log('Element rect:', res[0]); console.log('Scroll offset:', res[1]); });