开发者

Selenium: Is the select window is corresponding to session

开发者 https://www.devze.com 2023-04-06 08:31 出处:网络
I want to know how the selenium selectWindow selects the window is it according to session. i.e. If I have two sessions in parallel and both the sessions are selecting pop-up window with same name MyW

I want to know how the selenium selectWindow selects the window is it according to session. i.e. If I have two sessions in parallel and both the sessions are selecting pop-up window with same name MyWindow1 started by there corresponding sessions.

开发者_如何学Python

Session1 = Opens the new pop-up named MyWindow1

Session2 = Opens the new pop-up named MyWindow1

Then is the selection is according to there sessions please explain

Please clear me.

Thanks.


Yes, the selectWindow command only selects windows opened from the session where it is issued. Two Selenium sessions cannot interact with each other.

0

精彩评论

暂无评论...
验证码 换一张
取 消