Is there a way to configure PhantomJS webdriver on Selenium to do not load images? I know if I use phantomjs directly, I can start it with --load-images=no
and it won't load the images, but how can I configure that via Selenium and Python?
UPDATE Tried the following:
args = {
'desired_capabilities': {
'loadImages': False
}
}
driver = webdriver.PhantomJS(**args)
No success...