Skip to content

TypeError: __init__() got an unexpected keyword argument 'desired_capabilities' #1189

@ernany

Description

@ernany

Environment environ({'HOSTNAME': 'fea151ac8b0b', 'PYTHON_VERSION': '3.8.18', 'PWD': '/app', 'PYTHON_SETUPTOOLS_VERSION': '57.5.0', 'SELENIUM': 'http://firefox:4444/wd/hub', 'HOME': '/root', 'LANG': 'C.UTF-8', 'GPG_KEY': 'E3FF2839C048B25C084DEBE9B26995E310250568', 'TERM': 'xterm', 'SHLVL': '0', 'PYTHON_PIP_VERSION': '23.0.1', 'PYTHON_GET_PIP_SHA256': '9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6', 'PYTHON_GET_PIP_URL': 'https://github.com/pypa/get-pip/raw/4cfa4081d27285bda1220a62a5ebf5b4bd749cdb/public/get-pip.py', 'PATH': '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', '_': '/usr/local/bin/python'})
Traceback (most recent call last):
File "sample/remote.py", line 23, in
driver = WhatsAPIDriver(client="remote", command_executor="http://firefox:4444/wd/hub")
File "/usr/local/lib/python3.8/site-packages/webwhatsapi/init.py", line 274, in init
self.driver = webdriver.Remote(
TypeError: init() got an unexpected keyword argument 'desired_capabilities'

project not working?

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