d.current_window_handle # current window handle
d.window_handles # all open windows
d.switch_to_window (d.window_handles [1]) # The subscript target window
python and selenium automation infrastructure - multi-window switch
Guess you like
Origin www.cnblogs.com/peiya/p/12142183.html
Recommended
Ranking