nevoit / automated-messages Goto Github PK
View Code? Open in Web Editor NEWIn this project, we aim to build an automated messages system using Python with Selenium. Whatsapp
License: MIT License
In this project, we aim to build an automated messages system using Python with Selenium. Whatsapp
License: MIT License
Refactor code to functions and classes
I tried to run the program and i get this error:
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//input[@title='Search or start new chat']"}
(Session info: chrome=72.0.3626.119)
(Driver info: chromedriver=73.0.3683.20 (8e2b610813e167eee3619ac4ce6e42e3ec622017),platform=Windows NT 10.0.17134 x86_64)
when I am running the Whatsapp module I get this exception:
selenium.common.exceptions.WebDriverException: Message: unknown error: call function result missing 'value'
It comes in line 31 in lover.py:
document_element.send_keys(contact_name)
Looks like all the hard-coded numbers can move to the config.ini file
In the facebook model we need to get password from the user to his account.
We need to think how to do it secure and save it secure
After we will finish with the input format and with the multiple workers, we need to add using examples in the READ ME
Add logger for future debugging
We need to think about the input format for this program (JSON\CSV\TXT\GUI).
For example,
task 1 - every week on Sunday at 13:00 send 'Shaked' (name): 'how are you?'
task 2 - every three hours send a message to 'Dor' (name) from the JSON file.
Need to add testing to the project
The problem is with selenium and the chrome driver for linux.
Suggested solution is to migrate the whole project to JS and stop using selenium
Multiple workers - more than one worker. We need to think about how to implement this idea (threads\list of tasks).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.