我认为可以是:
profile = Selenium::WebDriver::Chrome::Profile.new
profile['webkit.webprefs.loads_images_automatically'] = false
@browser = Watir::Browser.new :chrome, :profile => profile
Run Code Online (Sandbox Code Playgroud)
请参阅: http: //watir.github.io/docs/chrome/