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
- 15 years ago
- 15 years ago
- 8 years ago
- 6 years ago
Recent Discussions
- 16 hours ago
- 7 days ago
- 10 days ago