Fills up the currently selected HTML element with the given text if the elements is a text box. If the element is a checkbox, passing "1" checks it and "0" unchecks it. And if the element is a drop down (a SELECT element), it selects the option whose value or text macthes the given text, or the one at the given index.
Browser.InputValue · [value]
- The value to set.
When the element is a drop down (a SELECT element), it will first attempt to match the option whose value property matches the given text. If none is found, it'll attempt to find the option whose text matches the given text. And if none is found, it'll attempt to parse the given text as a number and select the option located at the position specified by the number, starting at zero.