Forum Discussion
scottroutesmart
12 months agoOccasional Contributor
For my x and y coordinates, I used the following snippet of custom code to get it to click in the middle of the object exactly, as I knew I needed to click that exact point for a dialog box to appear...
Aliases.browser.pagename.canvas.width/2
Aliases.browser.pagename.canvas.height/2
The thing I like about doing it this way is that if your object dimensions, browser window size, or other factors change, it calculates the middle point of the object regardless.
Related Content
- 2 years agomattb
- 2 years agomattb
- 3 years agoLee_M
- 4 years agoryanterronez
Recent Discussions
- 8 hours agoSubhraDas
- 22 hours agoJacobjacob44