This shows you the differences between two versions of the page.
— |
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") | ||