https://cypress.io logo
Anyone know how to get the current
# general-chat
a
Anyone know how to get the current clientX of an element? I would have expected something like the following but with no joy. cy.get('element').then(params => params.clientX) Any help would be appreciated
d
Hi, if that element has 'clientX' property I'd use
cy.get('element').invoke('prop', 'clientX').then(clientX => { ... })
3 Views