Button element

Button elements let you add buttons to the page:

Creation:

newButton("myButton", "Click here")

Example:
[js try=”true”]newButton(“click”, “Click me!”)
.print()
.wait()
[/js]

Adds a button to the screen and waits for a click on it.

Commands

[yadawiki-list category=”NonTest command,Button element”]

Tests

[yadawiki-list category=”Test command,Button element”]