GithubHelp home page GithubHelp logo

Comments (3)

codemanat avatar codemanat commented on August 16, 2024 1

This is all explained in the README.md.
Keep in mind that you have to install the Firefox Gecko Driver first, if using Firefox.

For a working example take a look at the sample.py.

from webwhatsapp-wrapper.

iliaselmatani avatar iliaselmatani commented on August 16, 2024

Hi @faisalcse . It should be something like this :

  1. Download the latest version from : https://chromedriver.storage.googleapis.com/index.html
  2. Extract the zip file (for e.g. chromedriver_linux64.zip
  3. chmod +x chromedriver
  4. sudo mv chromedriver /usr/local/share/chromedriver
  5. cd /usr/bin/chromedriver
  6. sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver
  7. sudo ln -s /usr/local/share/chromedriver /usr/bin/chromedriver
  8. sudo pip install webwhatsapi
  9. Obtain the sample and execute ! : python echo.py

from webwhatsapp-wrapper.

HumGuz avatar HumGuz commented on August 16, 2024

Hi @iliaselmatani !! i new in python, a install WebWhatsAPI on a centOS 6 server and run the steps displayed in this post , but when i run it i got the next traceback:

Traceback (most recent call last):
File "echo.py", line 2, in
from webwhatsapi import WhatsAPIDriver
File "/usr/lib/python2.6/site-packages/webwhatsapi/init.py", line 17, in
from selenium import webdriver
File "/usr/lib/python2.6/site-packages/selenium/webdriver/init.py", line 18, in
from .firefox.webdriver import WebDriver as Firefox # noqa
File "/usr/lib/python2.6/site-packages/selenium/webdriver/firefox/webdriver.py", line 35, in
from selenium.webdriver.remote.webdriver import WebDriver as RemoteWebDriver
File "/usr/lib/python2.6/site-packages/selenium/webdriver/remote/webdriver.py", line 1091
return {k: size[k] for k in ('width', 'height')}
^
SyntaxError: invalid syntax

hope can help!! thanks

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.