It's impossible to disable images in Firefox
See original GitHub issueMeta -
OS: Windows Selenium Version: 2.53 Browser: Firefox Browser Version: 46.0.1
Steps to reproduce -
create driver instance using this capabilities
DesiredCapabilities capabilities = new DesiredCapabilities();
FirefoxProfile profile = new FirefoxProfile();
profile.setPreference("permissions.default.image", 2);
capabilities.setCapability("firefox_profile", profile);
Note if I use exist FF profile FirefoxProfile profile = new ProfilesIni().getProfile("existProfile")
images are disabled
Expected Behavior -
Images are disabled in broswer
Actual Behavior -
Images aren’t disabled in broswer
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:6 (2 by maintainers)
Top Results From Across the Web
How to disable images in firefox - Mozilla Support
Go to about:config, search for this option "permissions.default.image" change it to 2. Possible values: 1 -- Always load the images.
Read more >Is is possible to temporarily disable images, i.e. force text only?
Chosen solution · Tools -> Options -> Content · uncheck the box for "Load images automatically".
Read more >How can I stop images from loading? | Firefox Support Forum
I couldn't find the option to stop automatically loading images. Is there a way to do this? Using Firefox 59.0.2.
Read more >Disabling image loading doesn't work | Firefox Support Forum
If you want a "recommended" extension to block images, try uBlock Origin . Select 'I am an advanced user' in its Options page....
Read more >It's impossible to disable images in Firefox #2171 - GitHub
It's impossible to disable images in Firefox · Issue #2171 · SeleniumHQ/selenium · GitHub.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Works well in Selenium 3.7.0, tested in Firefox 57 + geckodriver 0.19 and Firefox ESR 52 with legacy driver.
@lukeis This is super easy to do in chrome. Why is this not able to be done via geckodriver?