User Tools

Site Tools


select

Differences

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

Link to this comparison view

select [2019/12/17 12:13] (current)
Line 1: Line 1:
 +====== select ======
 +----
 +select - Select an option on a html element <​select>​
  
 +
 +===== Description =====
 +  select("​$attribute_search","​$attribute_value","​$option_change","​$option_value"​)
 +  ​
 +This function returns a string
 +
 +
 +===== Parameters =====
 +** $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
 +
 +** $option_change **\\
 +The option to search to be selected\\
 +This value can be: "​value"​ or "​text"​
 +
 +** $option_value **\\
 +The value to search in all options and select
 +
 +===== Examples =====
 +  navigate("​http://​diaboliclabs.com/​testpage"​)
 +  sleep(5)
 +  select("​id","​cars","​value","​mercedes"​)
 +  sleep(5)
select.txt ยท Last modified: 2019/12/17 12:13 (external edit)