1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-06-15 00:05:15 +02:00

#23 Added NAVIGATE

This commit is contained in:
Tim Voronov
2018-09-25 19:04:07 -04:00
parent 3854bb39ce
commit a6b51a1f40
7 changed files with 181 additions and 28 deletions

View File

@ -0,0 +1,13 @@
LET doc = DOCUMENT("https://github.com/", true)
LET main = ELEMENT(doc, '.application-main')
LOG('innerText:start')
LET mainTxt = main.innerText
LOG('innerText:end')
NAVIGATE(doc, "https://github.com/features")
LET features = ELEMENT(doc, '.application-main')
LET featuresTxt = features.innerText
RETURN mainTxt == featuresTxt