scrapy-selenium
scrapy-selenium copied to clipboard
Selenium window size arguments not working
Hi guys, thanks for the middleware
I have a problem with setting window size , I want to have mobile version of a website but setting user-agent is not enough, but it works when I use Selenium with set_window_size . Probblem is when I use scrapy-selenium there is no way to use set_window_size selenium command, I tried setting arguments on the settings.py but not working:
SELENIUM_DRIVER_ARGUMENTS=['-window-size=375x667', '-headless']
Any idea how to fix that
--window-size=375,667