selenium switch to iframe to locate elements selenium switch to iframe to locate elements selenium selenium

selenium switch to iframe to locate elements


As per your comment to click() on the element inside a frame you can use the following line of code :

WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.XPATH, "//input[@class='submit button' and @id='btn-opslaan']"))).click()