How to switch to new window in Selenium for Python?

后端 未结 5 1881
梦谈多话
梦谈多话 2020-11-22 13:16

I am working on selenium automation project using Python.

I am facing an issue, which is handling multiple browser windows.

Scenario is as f

5条回答
  •  耶瑟儿~
    2020-11-22 13:56

    window_handles should give you the references to all open windows.

    this is what the docu has to say about switching windows.

提交回复
热议问题