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
13 lines
437 B
Plaintext
13 lines
437 B
Plaintext
LET url = @lab.cdn.dynamic + "?redirect=/iframe&src=/iframe"
|
|
LET page = DOCUMENT(url, { driver: 'cdp' })
|
|
LET original = FIRST(FRAMES(page, "url", "/\?redirect=/iframe$"))
|
|
|
|
INPUT(original, "#url_input", "https://getbootstrap.com/")
|
|
|
|
CLICK(original, "#submit")
|
|
|
|
WAITFOR EVENT "navigation" IN page OPTIONS { frame: original } 10000
|
|
|
|
LET current = FIRST(FRAMES(page, "name", "nested"))
|
|
|
|
RETURN T::EQ(current.URL, "https://getbootstrap.com/") |