SHARE
TWEET

Untitled

a guest Jun 18th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. page_size_list = self.driver.find_elements(Locators.PAGE_SIZES_LIST)
  2. x = re.findall('w+', page_size_list.text)
  3. print(x)
  4. if page_size == x[1]:
  5.    page_size.click()
  6. elif page_size == x[2]:
  7.      page_size.click()
  8. elif page_size == x[3]:
  9.      page_size.click()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top