Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selenium window size arguments not working #25

Open
pitchourou opened this issue Jan 5, 2019 · 1 comment
Open

Selenium window size arguments not working #25

pitchourou opened this issue Jan 5, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@pitchourou
Copy link

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

@clemfromspace clemfromspace added the enhancement New feature or request label Nov 12, 2019
@cherijs
Copy link

cherijs commented Aug 4, 2020

--window-size=375,667

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants