User Tools

Site Tools


Sidebar

Software

select

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)