mirror of
https://github.com/MontFerret/ferret.git
synced 2025-02-07 13:31:56 +02:00
* 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
18 lines
376 B
Plaintext
18 lines
376 B
Plaintext
LET url = @lab.cdn.dynamic + "?redirect=/events"
|
|
LET doc = DOCUMENT(url, true)
|
|
LET selector = "#wait-class-btn"
|
|
|
|
WAIT_ELEMENT(doc, "#page-events")
|
|
|
|
LET el = ELEMENT(doc, selector)
|
|
LET prev = el.style
|
|
|
|
ATTR_SET(el, "style", "width: 200px")
|
|
WAIT_STYLE(doc, selector, "width", "200px")
|
|
|
|
LET curr = el.style
|
|
|
|
T::NOT::EQ(prev.width, "200px")
|
|
T::EQ(curr.width, "200px")
|
|
|
|
RETURN NONE |