Interface

Window

Get Browser Window

Get the Browser Window

 

{ }
[{"data":{"type":"library","step":"Get window","args":{},"data_to_var":"win","maxpaths":1,"uuid":"9148d39266042bc89aff74e46b1a483b","x":0,"y":0,"width":120,"height":32,"call":"interface.window.get","interface":"interface","interface.window.get":"get"},"paths":[]}]

Example Response

{"win":""}

Get Element using ID

Get Element using ID

 

{ }
[{"data":{"type":"library","step":"Get element","args":{"id":"ele_id"},"data_to_var":"ele","maxpaths":1,"uuid":"9148d39266042bc89aff74e46b1a483b","x":0,"y":0,"width":120,"height":32,"call":"interface.window.get","interface":"interface","interface.window.get":"get"},"paths":[]}]

Example Response

{"ele":""}

Get Element using CSS selector

Get Element using CSS selector

 

{ }
[{"data":{"type":"library","step":"Get element","args":{"selector":"div.par"},"data_to_var":"ele","maxpaths":1,"uuid":"9148d39266042bc89aff74e46b1a483b","x":0,"y":0,"width":120,"height":32,"call":"interface.window.get","interface":"interface","interface.window.get":"get"},"paths":[]}]

Example Response

{"ele":""}

Display an Alert

Display Alert Modal

 

{ }
[{"data":{"type":"library","step":"Display alert","args":{"text":"Hello World"},"data_to_var":"","maxpaths":1,"uuid":"9148d39266042bc89aff74e46b1a483b","x":0,"y":0,"width":120,"height":32,"call":"interface.window.alert","interface":"interface","interface.window.alert":"alert"},"paths":[]}]

Example Response

{}