What you described is impossible. The result of open will be passed only HTML after the open method, which will return the full value.
I suspect the page itself is using AJAX to load its content, as suggested in the comments, in which case you can use Watir to retrieve the page using a browser
require 'nokogiri' require 'watir' browser = Watir::Browser.new browser.goto 'https://www.the-page-i-wanna-crawl.com' doc = Nokogiri::HTML.parse(browser.html)
This may open a browser window.
source share