Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from selenium import webdriver
- from selenium.webdriver.common.keys import Keys
- from selenium.webdriver.support.select import Select
- from selenium.webdriver.support.ui import WebDriverWait
- from selenium.webdriver.support import expected_conditions as EC
- from selenium.webdriver.common.by import By
- #open Base account for first entry on list
- block = WebDriverWait(driver,10)
- block.until(EC.visibility_of_element_located((By.CLASS_NAME, "modal-content")))
- driver.switch_to.active_element
- Customers = driver.find_elements_by_xpath('//a[contains(@href, "futuresimple")]')
- #Customer.click()
- for e in Customers:
- print(e.text)
- # Utility = inputElement.find_element_by_xpath('./preceding-sibling::')
- Customers[0].click()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement