1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-16 11:37:36 +02:00
ferret/e2e/tests/dynamic/element/click/click.fql
Tim Voronov f39face8bf
Bugfix/click (#355)
* Added ability to use ClickBySelector with an element

* Fixes

* Increased timeout time
2019-08-24 20:26:27 -04:00

10 lines
202 B
Plaintext

LET url = @dynamic + "/#/events"
LET page = DOCUMENT(url, true)
LET btn = ELEMENT(page, "#wait-class-random-btn")
CLICK(btn)
WAIT_CLASS(page, "#wait-class-random-content", "alert-success")
RETURN ""