下面是html代码..
<iframe id="I0_1366100881331" frameborder="0" width="100%">
<div class="ZRa">
<span id="button" class="hAa Qo Bg" tabindex="0" role="button" title="" aria- label="Click here to publicly +1 this." aria-pressed="false">
</div>
</iframe>
在上述场景中,我想切换到 IFRAME (iframe id="I0_1366100881331") 以对该 IFRAME 中存在的 SPAN 执行一些操作。我已经尝试过大多数情况,但没有结果:(...请任何人帮忙。
我想要只使用水豚红宝石的黄瓜解决方案..
注意:我尝试使用以下代码但没有结果。
page.driver.browser.switch_to.frame “I0_1366100881331”