Skip to content

Instantly share code, notes, and snippets.

@pranavgade20
Last active February 14, 2021 15:12
Show Gist options
  • Save pranavgade20/99dd88bad8bb43ed4d3d1a63f2a59794 to your computer and use it in GitHub Desktop.
Save pranavgade20/99dd88bad8bb43ed4d3d1a63f2a59794 to your computer and use it in GitHub Desktop.
Webex login script using selenium
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.keys import Keys
from selenium import webdriver
url = "https://meetingsapac33.webex.com/webappng/sites/meetingsapac33/meeting/download/fb2e65ba6d1f8
c7e620174a821a36ac0"
names = {"lci2020010 pranav":"lci2020010@iitl.ac.in"}
for name in names:
driver = webdriver.Firefox()
driver.get(url);
elem = driver.switch_to.active_element
elem.send_keys(name)
elem.send_keys(Keys.TAB)
elem.send_keys(names[name])
elem.send_keys(Keys.ENTER)
elem = driver.switch_to.active_element
elem.send_keys(Keys.ENTER)
elem = driver.switch_to.active_element
elem.send_keys(Keys.ENTER)
elem = driver.switch_to.active_element
elem.send_keys(Keys.ENTER)
elem = driver.switch_to.active_element
elem.send_keys(Keys.ENTER)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment