botasaurus icon indicating copy to clipboard operation
botasaurus copied to clipboard

Cannot select iframe inside of an iframe

Open MakeFish-dev opened this issue 1 year ago • 1 comments

To reproduce: outer_iframe = driver.select_iframe("#outer-iframe", wait=Wait.LONG) inner_iframe = outer_iframe.select_iframe("iframe", wait=Wait.LONG)

I cannot select an iframe inside of an iframe. It gives the error below: botasaurus_driver.exceptions.IframeNotFoundException: 9C0E4B0E77536D8A8161DEA46763A3B1

MakeFish-dev avatar Jul 26 '24 11:07 MakeFish-dev

You have to move to the first iframe first. Then you can select the first iframe. Follow this: https://stackoverflow.com/questions/44834358/switch-to-an-iframe-through-selenium-and-python

FayzulSaimun avatar Aug 12 '24 17:08 FayzulSaimun

resolved

Chetan11-dev avatar Apr 11 '25 06:04 Chetan11-dev