Switch to an iframe through Selenium and python

Viewed 71614

How would I switch to this iframe in selenium knowing only

<iframe name="Dialogue Window">
3 Answers

I have resolved this issue in Python-Selenium. Please use the below code:

srtHandle = driver.window_handles
driver.switch_to_window(srtHandle[0])

Then switch to the frame in which the element is located.

Related