You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every browser that I use with (Firefox, Chrome, PhantomJS, and JBrowser) Selenium automatically downloads all images on each page. HtmlUnit does not download the images. While I appreciate the design choice to avoid downloading images (it certainly seems like it would speed up page loads), this behavior is inconsistent with other browsers and causes HtmlUnit to fail tests that other browsers pass. I am requesting that a constructor option or (Capabilities) capability be added to HtmlUnitDriver to specify that it should automatically download all images (similar to HtmlUnitDriver's constructor option to enable JavaScript).
One way to accomplish this task would be to run this code every time a new page is encountered:
Every browser that I use with (Firefox, Chrome, PhantomJS, and JBrowser) Selenium automatically downloads all images on each page.
HtmlUnit
does not download the images. While I appreciate the design choice to avoid downloading images (it certainly seems like it would speed up page loads), this behavior is inconsistent with other browsers and causesHtmlUnit
to fail tests that other browsers pass. I am requesting that a constructor option or (Capabilities
) capability be added toHtmlUnitDriver
to specify that it should automatically download all images (similar toHtmlUnitDriver
's constructor option to enable JavaScript).One way to accomplish this task would be to run this code every time a new page is encountered:
The text was updated successfully, but these errors were encountered: