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
SELENIUM_DRIVER_NAME = 'chrome'
SELENIUM_DRIVER_EXECUTABLE_PATH = which('chromedriver')
prefs = {"profile.managed_default_content_settings.images": 2}
SELENIUM_DRIVER_ARGUMENTS=['--incognito',prefs]
DOWNLOADER_MIDDLEWARES = {
'scrapy_selenium.SeleniumMiddleware': 800
}
here is my code and i want to add prefs for disable image during website loading...but i am not able to load this...can i?
The text was updated successfully, but these errors were encountered:
from shutil import which
SELENIUM_DRIVER_NAME = 'chrome'
SELENIUM_DRIVER_EXECUTABLE_PATH = which('chromedriver')
prefs = {"profile.managed_default_content_settings.images": 2}
SELENIUM_DRIVER_ARGUMENTS=['--incognito',prefs]
DOWNLOADER_MIDDLEWARES = {
'scrapy_selenium.SeleniumMiddleware': 800
}
here is my code and i want to add prefs for disable image during website loading...but i am not able to load this...can i?
The text was updated successfully, but these errors were encountered: