Skip to content

Instantly share code, notes, and snippets.

@SubhadityaMukherjee
Created February 9, 2022 10:12
Show Gist options
  • Select an option

  • Save SubhadityaMukherjee/d8251f2c50f0cb9fd4ae77560de38bc0 to your computer and use it in GitHub Desktop.

Select an option

Save SubhadityaMukherjee/d8251f2c50f0cb9fd4ae77560de38bc0 to your computer and use it in GitHub Desktop.
login
sites = sites.replace(" ", "") # Just make sure it works
assert len(sites.split(",")) == len(to_put)
actions = ActionChains(browser) # Syntax for selenium to send a bunch of keypresses
browser.get('https://github.com/login')
time.sleep(1)
chain_actions(actions, [email, Keys.TAB, passw, Keys.TAB, Keys.ENTER])
time.sleep(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment