Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time
- from selenium import webdriver
- from selenium.webdriver.common.keys import Keys
- from selenium.webdriver.common.by import By
- driver = webdriver.Chrome()
- # driver = webdriver.Edge()
- driver.get("https://login.eu.xarios.cloud")
- #find email and pass
- time.sleep(2)
- input_email = driver.find_element(By.ID, "Input_Email")
- input_password = driver.find_element(By.ID, "Input_Password")
- input_email.send_keys("gblanaru@allview.ie")
- input_password.send_keys("hvy1jvd6mwx@cfb8BPZ")
- time.sleep(2)
- driver.find_element(By.XPATH, '//button[text()="Log in"]').click()
- time.sleep(5)
- driver.get("https://dimensions.eu.xarios.cloud/en-US/workspaces/362b37f1-ec70-4aaf-90db-614537eafb1b/wallboards")
- # driver.find_element(By.XPATH, "//a[href()='https://dimensions.eu.xarios.cloud/en-US/workspaces/362b37f1-ec70-4aaf-90db-614537eafb1b/wallboards']")
- time.sleep(7)
- driver.find_element(By.XPATH, '//button[@title="Enable full screen mode on this view"]').click()
- #makes chrome stay open
- while(True):
- pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement