-
Notifications
You must be signed in to change notification settings - Fork 353
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
Fixes TypeError: __init__() got an unexpected keyword argument 'firefox_options' #101
base: develop
Are you sure you want to change the base?
Conversation
I want to use options (for example, '-headless'), but now they are ignored. |
Did you try the latest code update that I have committed? |
Thanks for this, works like a charm after the file change. |
Yes, now it works. Thanks. |
While waiting on this to be merged ... which version of selenium & scrapy-selenium don't have this issue? thanks |
so, problem is in selenium version: the browser option parameter firefox_options was deprecated in Selenium 3.8.0 If you use newest version: i tested the package today - the problem is in place. |
Hello! Any chance for this to get merged? |
@clemfromspace any idea when this will be merged and updated? |
This PR should be merged as soon as possible. it is critical. ^ ^ |
@abhinav-bhardwaj can you please review and merge this? |
@samlexxy actually I'm not the maintainer of this repo, so I can't merge. Though other people can review and approve this but they also can't merge. |
perhaps @clemfromspace will be kind enough to look into this |
self.driver = driver_klass(**driver_kwargs) |
you'll need to edit your scrapy_selenium middle file.. follow this link https://github.com/clemfromspace/scrapy-selenium/pull/101/files |
Fixes #100
Tested on
Selenium Version - 4.0.0
scrapy-selenium version - 0.0.7
Scrapy version - 2.5.1
Python version - 3.8
OS - Ubuntu 20.04.2 LTS