GithubHelp home page GithubHelp logo

Comments (1)

JulioImolesi avatar JulioImolesi commented on August 16, 2024

how do you solved that?
Im stuck in the same error:
After install the package with "pip install -r requirements.txt"
following the usage instructions:
(OK) 1: Import library from webwhatsapi import WhatsAPIDriver

(ERROR) :2 Instantiate driver and set username driver = WhatsAPIDriver(username="Test")

Python 3.4.0 (v3.4.0:04f714765c13, Mar 16 2014, 19:25:23) [MSC v.1600 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

from asyncio import Task, ensure_future, get_event_loop, sleep, wait
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name 'ensure_future'
from webwhatsapi import WhatsAPIDriver
driver = WhatsAPIDriver(username="Test")
Traceback (most recent call last):
File "", line 1, in
File "C:\WebWhatsAPI-master\WebWhatsAPI-master\webwhatsapi_init_.py", line 186, in init
self.driver = webdriver.Firefox(capabilities=capabilities, options=options)
File "c:\Python34\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 162, in init
keep_alive=True)
File "c:\Python34\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 154, in init
self.start_session(desired_capabilities, browser_profile)
File "c:\Python34\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 243, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "c:\Python34\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 312, in execute
self.error_handler.check_response(response)
File "c:\Python34\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities

from webwhatsapp-wrapper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.