为什么呢?selenium没有switch to window属性如何解决?
刚写过一个类似的程序,使用如下用法
# 切到新的页面 handles = driver.window_handles driver.switch_to.window(handles[1])