Skip to content

Phantomjs package has been deprecated #1

@davisbra

Description

@davisbra

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions