Live API now implements the following functions:
- browserling.rightClick(x, y)
Right clicks mouse at (x, y).
- browserling.wheelClick(x, y)
Middle clicks (wheel clicks) at (x, y).
Left click, right click and mouse wheel click are just three of mouse buttons. Many mouses have more than 3 buttons so we added support for mouses with more buttons via
- browserling.click(x, y, button)
We support mouses up to 8 buttons. You can now use these extra buttons. Change the button argument from 1 to 8 to click buttons 1 to 8. Left click is 1, mouse wheel is 2, right click is 3. Other buttons are 4 to 8. Default is 1 (left click).
Happy cross-browser testing!
Email this blog post to your friends or yourself!
Enter a URL to test, choose platform, browser and version, and you'll get a live interactive browser in 5 seconds!