To improve the performance of the automation, trying to disable image loading.
I found a way to do it in Firefox & Chrome (Ref: Selenium WebDriver/Firefox|Chrome/Java How to disable image loading), not Internet Explorer. Please help me out here.
To improve the performance of the automation, trying to disable image loading.
I found a way to do it in Firefox & Chrome (Ref: Selenium WebDriver/Firefox|Chrome/Java How to disable image loading), not Internet Explorer. Please help me out here.
Below is the answer, received from Selenium team.
Ref: https://github.com/SeleniumHQ/selenium/issues/7512
This isn’t possible without changing the browser configuration/profile, and IE does not support profiles outside the currently logged in Windows user account. The driver will not be modified to change the configuration, since there is no guaranteed way to revert the configuration change after the session ends. You can either manually set the browser configuration in the options dialog (if such a setting exists), manipulate the setting programmatically using the Windows registry (assuming such a setting exists for IE), or use a web proxy to block retrieval of images. This is not a feature the driver will be implementing.
To improve the performance of the automated program disableing the image loading within internetexplorer you need to modify the data for the name Display Inline Images
within HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
through the Registry Editor as no as follows:
Value name Value data
--------------------- ----------
Display Inline Images No
Snapshot:
To disable the images while browsing on Internet Explorer, you could open the Internet Options and go to the Advanced Tab. Scroll down to Multimedia Section and uncheck Show Pictures check-box, click Apply and Exit.