robotframework-seleniumlibrary-java icon indicating copy to clipboard operation
robotframework-seleniumlibrary-java copied to clipboard

Get Window Identifiers returns "null"

Open Hi-Fi opened this issue 8 years ago • 2 comments

From @omireault on February 5, 2014 16:22

When I use Select Window to return to the main window, it claims it can't find Window ' '.

When I use Get Window Identifiers, I get the following:

KEYWORD: Selenium2Library.Get Window Identifiers Start / End / Elapsed: 20140205 09:15:31.991 / 20140205 09:15:32.018 / 00:00:00.027 09:15:31.992 TRACE Arguments: [ ] 09:15:32.017 INFO Altogether 2 Window Ids. 1: null 2: null 09:15:32.019 TRACE Return: [null, null]

Not a big deal right, I use the window titles as a work around.

Copied from original issue: MarkusBernhardt/robotframework-selenium2library-java#47

Hi-Fi avatar Sep 19 '17 18:09 Hi-Fi

From @omireault on February 6, 2014 16:18

The select windows with null works to go back to main. I updated the title of the issue to reflect that.

Hi-Fi avatar Sep 19 '17 18:09 Hi-Fi

This is what Selenium returns, so I think there's not much that can be done for it.

Selenium returns data:

[null, , W3Schools Online Web Tutorials, null]

Data is fetched by parsing list which is received from Selenium by:

webDriver.getWindowHandle();

Internal ID creation could be made, but it's enchancement.

Hi-Fi avatar Oct 14 '17 09:10 Hi-Fi