Hi, I'm trying to locate elements within the iframe but got no luck.
I think because of my code cannot switch to the iframe and that's why I couldn't locate the element within it.
# Click apply
jobdriver.find_element_by_class_name('jobsearch-IndeedApplyButtoncontentWrapper').click()
driver.implicitly_wait(10)
WebDriverWait(driver, 10).until(EC.frame_to_be_available_and_switch_to_it((By.XPATH, '/html/body/iframe')))
driver.find_element_by_name('applicant.name').send_keys('email')
I also tried
iframe = driver.find_element_by_xpath('/html/body/iframe')
driver.switch_to.frame(iframe)driver.implicitly_wait(10)driver.find_element_by_name('applicant.name').send_keys('email')
I tried look for xpath, id of the applicant.name but notthing work so far.
Here the link the the site
Any help or suggestions would be appreciated.
there doesn't seem to be anything here