small inconvenience in BrowserState..selectWindow(...)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
TestPlan |
New
|
Undecided
|
Unassigned |
Bug Description
As mentioned in the summary, this is more of an inconvenience than a bug.
It all starts at line 224 (browser.
In the process of retrying, a new window is forced open.
This results in an unwanted window to be opened when the window you wanted to open is opened with a small delay.
The fix for this would be either an overloaded version of this method which accepts parameter as i.e. "numberOfTries" or at least a "delayInMs".
Where it just tries to find the window with the given name again, instead of forcing a new one to be opened immediately.
I know that in the SeleniumDoc the usage of "openWindow" using an empty String as the url-parameter is intended to force Selenium to recognize a window. This however seems to not (always) work. (instead a new window with a blank url-field is opened).
I would be happy to hear your thoughts about this.
Regards
Marcus Döring