Содержание

clickElement

Scrolls the page to the specified element, emulates mouse cursor movement to specified coordinates and clicks.

Syntax

clickElement = function(aElement, aX, aY, aScrollMethod);

Parameters

Returned value

Notes

Examples

  1. loadURI('google.ru');
    typeIn('test');
    var search = getElement('button',0,['name'],['btnG']);
    clickElement(search,0,0,SM_SCROLLBAR);