Interacting with Buttons
Name | Spec Data Types | Description |
---|---|---|
value | required [String] |
Set value |
event | required [String] |
Invoke event |
"event[1]" : "click"
]
<button type="button" id="btn">Click Me!</button>
SELECT css("#btn")
FROM http://www.delven.io/test/execute.html
EVENTFLOW
[
{
"by-css": "#btn",
"value": "New Button Name"
}
]
{ "column_1" : {"value" : "New Button Name"} }
Following example will select our button
and then perform an click
action.
SELECT css("#btn")
FROM http://www.delven.io/test/execute.html
EVENTFLOW
[
{
"by-css" : "#btn",
"event[1]" : "click"
}
]