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不支持PhantomJS 要用老版本吗 #48

Open
mote0302 opened this issue Jan 11, 2022 · 1 comment
Open

新版selenium不支持PhantomJS 要用老版本吗 #48

mote0302 opened this issue Jan 11, 2022 · 1 comment

Comments

@mote0302
Copy link

File "/Users/moo/project/01_yanglian/Image-Downloader/crawler.py", line 27, in
dcap = dict(DesiredCapabilities.PHANTOMJS)
AttributeError: type object 'DesiredCapabilities' has no attribute 'PHANTOMJS'

@CH3OCH3-lio
Copy link

4.1.0版本太高了 我卸载了重装了pip install selenium==2.48.0可以运行了

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

No branches or pull requests

2 participants