“Malformed URL: can't access dead object” in selenium when trying to open google

前端 未结 2 1516
我在风中等你
我在风中等你 2021-01-26 13:09

With python selenium I am currently developing a very complex test case. In the midst of it (page might be loading, with iframes inside iframes etc), I just want to open a webpa

2条回答
  •  滥情空心
    2021-01-26 13:26

    I think you switched into a frame just before .get(). And you cannot open an url in the frame. Try driver.switch_to_default_content()

提交回复
热议问题