Please answer how to switch to new pop window from the existing webpage window
Asked
Active
Viewed 51 times
1 Answers
0
iframe = driver.find_element_by_xpath("your_xpath_for_Iframe")
driver.switch_to.frame(iframe)
You can switch back to the default content
driver.switch_to.default_content()

Norayr Sargsyan
- 1,737
- 1
- 12
- 26