mirror of
https://github.com/MontFerret/ferret.git
synced 2025-01-30 04:30:51 +02:00
90427cd537
* Added remote type reference resolver * Added support of XPath query selector * Added CDP e2e testss covering XPath integration * Added additional CDP e2e tests covering XPath integration * Added type check to QuerySelector casting function * Fixed XPath e2e tests * Fixed vuln issue * Added support of XPath selectors to http driver * Added e2e tests for XPAth
10 lines
410 B
Plaintext
10 lines
410 B
Plaintext
LET url = @lab.cdn.dynamic + "?redirect=/events"
|
|
LET doc = DOCUMENT(url, true)
|
|
|
|
WAIT_ELEMENT(doc, "#page-events")
|
|
|
|
CLICK_ALL(doc, "#wait-class-btn, #wait-class-random-btn")
|
|
T::LEN(ELEMENTS(doc, X("//*[@id='wait-class-content' or @id='wait-class-random-content']")), 2)
|
|
WAIT_ATTR_ALL(doc, X("//*[@id='wait-class-content' or @id='wait-class-random-content']"), "class", "alert alert-success", 10000)
|
|
|
|
RETURN TRUE |