Forum Discussion
scottroutesmart
2 years 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 ago
- 4 years ago
- 4 years ago