middleClick

Apply middle click on an element. If selector is not provided, click on the last moved-to location.

Usage

1
browser.middleClick(selector,xoffset,yoffset);

Parameters

Param Type Details
selector String element to click on
xoffset Number X offset to move to, relative to the top-left corner of the element.
yoffset Number Y offset to move to, relative to the top-left corner of the element.

Uses