Forum: Ruby Checking if JS script exist on webpage

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
3ae485d9b410952986039d3248b58050?d=identicon&s=25 Warlock H. (warlock_handler)
on 2016-11-23 03:27
Hey Guys,
I want to create a ruby script to crawl a URL and check if a certain
script exists on the page.

I know I can crawl the URL with NOKOgiri or similar plugin. Would I be
able to check if the script exists without really firing the script.

use case - the JS script might or might not appear on certain pages of
the website. I want to check programmatically if that script is
available on the web page.

all help welcome, thnx guys
This topic is locked and can not be replied to.