Skip to content

Force Selenium to not load images [Ruby]

Sometimes it is unnecessary to load images in my selenium scripts. It takes time for the images (especially large ones) to load and messes up my sleep functions. Here’s how to prevent it from loading. There are more options and it’s listed in the All Profile Options link. :P

 

Selenium Ruby API Doc: http://www.rubydoc.info/gems/selenium-webdriver/0.0.28/Selenium/WebDriver/Firefox/Profile

All Profile Options: http://preferential.mozdev.org/preferences.html

 туры в индонезиюгде жить в буковелелобановский александр игоревич харьковsurrogacy moneyучеба за границейdragonoptions

Published inRuby

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.