Buttons

Interacting with Buttons

Parameter Specification

Name Spec Data Types Description
value required [String] Set value
event required [String] Invoke event
  "event[1]"  : "click"
]

Example

  <button type="button" id="btn">Click Me!</button>

Setting Value

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"} }

Invoking Click Event

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"
  }
]

[//] (https://www.w3schools.com/jsref/dom_obj_event.asp)