addValue
Add a value to an object found by given selector. You can also use unicode
characters like Left arrow or Back space. WebdriverIO will take care of
translating them into unicode characters. You’ll find all supported characters
here.
To do that, the value has to correspond to a key from the table. It can be disabled
by setting translateToUnicode
optional parameter to false.
#
Usage#
ParametersName | Type | Details |
---|---|---|
value | string , number , boolean , object , Array.<any> | value to be added |
options optional | AddValueOptions | command options (optional) |
options.translateToUnicode | boolean | enable translation string to unicode value automatically |
#
ExampleaddValue.js