seleniumgvoice
v1.0.1-a
Published
Google Voice automation using Selenium
Readme
Note: Only tested on Windows
Prerequisites:
- Have Chrome 75 installed, or replace the WebDriver for the correct version
- Have Google Voice set up with at least one SMS conversation and with messages forwarding to your email account.
- Have 2FA disabled for your GVoice account.
Basic Example:
const { Client } = require("seleniumgvoice");
var client = new Client("gmail username", "gmail password", "inital number to SMS");
client.events.on("init", () => {
console.log("Ready");
client.sendSMS("Hello World");
client.setNumber("1234567890");
client.sendSMS("Hello World");
});
client.events.on("sms", (number, sms) => { // Number gets the country code added to it (8304765664 -> 18304765664)
console.log(number, sms);
});
client.login(); // Do AFTER registering all events