My selenium webdriver goes to a page and waits for that page to finish loading. If 30 seconds pass it times-out and the script fails.
Is there anyway to have the
You can stop page loading in Ruby using JavaScript function window.stop() and method Selenium::WebDriver::Driver#execute_script:
driver.execute_script("window.stop()")