a guest Jan 25th, 2019 159 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- from selenium import webdriver
- from selenium.webdriver.common.keys import Keys
- import time
- class InstagramBot:
- def __init__(self, username, password):
- self.username = username
- self.password = password
- self.driver = webdriver.Firefox()
- def closebrowser(self):
- def login(self):
- driver = self.driver
- # "//a[@href'accounts/login']"
- # "//input[@name='username']"
- # "//input[@name='password']"
- coreyIG = InstagramBot("username", "password1234")
RAW Paste Data