I am not able to use send_key() function for IFrame using Selenium WebDriver?

I am not able to use send_key() function for IFrame using Selenium WebDriver. How should I select the IFrame and which element should be used for send_key()?

Hey Tobby-steed,

You can try out the belo code:

driver.switch_to.frame(driver.find_element_by_tag_name("iframe")) .

To use the default content you should try:

driver.switch_to.default_content()