onionstack icon indicating copy to clipboard operation
onionstack copied to clipboard

Phantomjs package has been deprecated

Open davisbra opened this issue 7 years ago • 0 comments

hi, phantomjs package has been deprecated according to this page:

https://www.npmjs.com/package/phantomjs

and the package renamed to phantomjs-prebuilt:

https://www.npmjs.com/package/phantomjs-prebuilt

I installed phantomjs-prebuild and other requirements but here is the error:

File "onionstack.py", line 97, in title = get_title_with_screenshot(url) File "onionstack.py", line 46, in get_title_with_screenshot driver = webdriver.PhantomJS(service_args = service_args, desired_capabilities = dcap) File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/phantomjs/webdriver.py", line 52, in init self.service.start() File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/common/service.py", line 81, in start os.path.basename(self.path), self.start_error_message) selenium.common.exceptions.WebDriverException: Message: 'phantomjs' executable needs to be in PATH.

what should I do to resolve the problem?

davisbra avatar Jul 23 '18 11:07 davisbra