User Tools

Site Tools


scroll

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

scroll [2019/12/17 12:13] (current)
Line 1: Line 1:
 +====== scroll ======
 +----
 +scroll - Scroll the browser to the html element
 +
 +
 +===== Description =====
 +  scroll("​$tag_search","​$attribute_search","​$attribute_value"​)
 +  ​
 +
 +===== Parameters =====
 +** $tag_search **\\
 +The html tag to search\\
 +Tags can be: "​a","​div","​span","​img",​ ...
 +
 +** $attribute_search **\\
 +The <a> attribute to search to identify the element\\
 +Attributes examples: "​id",​ "​name",​ "​style",​ ...
 +
 +** $attribute_value **\\
 +The value of the attribute to be found
 +
 +===== Examples =====
 +  navigate("​http://​diaboliclabs.com/​testpage"​)
 +  sleep(5)
 +  scroll("​button","​id","​btime"​)
  
scroll.txt ยท Last modified: 2019/12/17 12:13 (external edit)