douglasmiranda / douglasmiranda/splinter-examples
Disabling images with splinter firefox browser
- Dominant language
- Python
- Stars
- 22
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Could you add code for disabling images with splinter firefox browser?
I am doing this:
browser = Browser('firefox', profile_preferences=proxy_settings)
path = #Given the path
browser.visit(path)
soup = BeautifulSoup(browser.html, 'html.parser')
For faster performance, I want to load pages by disabling the images. I tried editing the "permissions.default.image" parameter to 2 in "about:config" of firefox, but it resets everytime firefox is under remote control.
TL;DR: How do I pass "permissions.default.image" in splinter.browser.visit() request?
Thanks
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.