-
Notifications
You must be signed in to change notification settings - Fork 2
Description
hi,
phantomjs package has been deprecated according to this page:
and the package renamed to 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?