Created
May 12, 2020 19:00
-
-
Save sodastereo/e02f353099a574363fc02306b0f8420e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################################################### | |
# FB XPATHS # | |
###################################################### | |
print("Let's Begin") | |
emailelement = driver.find_element(By.XPATH,".//*[contains(@id, 'email')]").send_keys(username) | |
print("Username Entered") | |
passwordelement = driver.find_element(By.XPATH,".//*[contains(@id, 'pass')]").send_keys(password) | |
print("Password Entered") | |
driver.find_element_by_id('loginbutton').click() | |
print("Login Successfull..") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment