Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. from selenium import webdriver
  2.  
  3. driver = webdriver.Firefox()
  4. driver.get('https://employment.wellsfargo.com/psp/PSEA/APPLICANT_NW/HRMS/c/HRS_HRAM.HRS_APP_SCHJOB.GBL?FOCUS=')
  5.  
  6. # find the frame and switch to it
  7. frame = driver.find_element_by_id('ptifrmtgtframe')
  8. driver.switch_to.frame(frame)
  9.  
  10. # find the button and click it
  11. button = driver.find_element_by_id('HRS_CE_WELCM_WK_HRS_CE_WELCM_BTN')
  12. button.click()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement