iframe = driver.find_elements_by_tag_name('iframe')[0]
driver.switch_to_default_content()
driver.switch_to_frame(iframe)
driver.find_elements_by_tag_name('iframe')[0]
Python Selenium switch into an iframe within an iframe