Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Get Window Identifiers returns "null" #10

Open
Hi-Fi opened this issue Sep 19, 2017 · 2 comments
Open

Get Window Identifiers returns "null" #10

Hi-Fi opened this issue Sep 19, 2017 · 2 comments

Comments

@Hi-Fi
Copy link
Collaborator

Hi-Fi commented Sep 19, 2017

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
Copy link
Collaborator Author

Hi-Fi commented Sep 19, 2017

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
Copy link
Collaborator Author

Hi-Fi commented Oct 14, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant