Hi, everyone! I'm new using nightmare.js.
I need to solve exercise below, I have already done something, but still have no idea what to do the next.
a). Navigate to Google page.
b). Search for 'W3Schools'.
c). In the first result page navigate on each link and check if the title from the result is the
same with the title on website page.
This is my code:
And I'm not sure how after I can check if the title from the result is the
same with the title on website page. Does anybody has some ideas?
Thanks for any help.
Hi, everyone! I'm new using nightmare.js. I need to solve exercise below, I have already done something, but still have no idea what to do the next. a). Navigate to Google page. b). Search for 'W3Schools'. c). In the first result page navigate on each link and check if the title from the result is the same with the title on website page. This is my code:
It goes to each link, but that's it.
And I'm not sure how after I can check if the title from the result is the same with the title on website page. Does anybody has some ideas? Thanks for any help.