It would be nice to have a method to return a list of open windows.
For example, if you use window() to attempt to get a window that is not open, it will throw a WindowNotFoundException with a list of open windows in the error message. Getting this list through a test case is not current possible, but would be nice to have.
For example, you have your program open with the following windows:
you could make a call like getOpenWindows() and that would return ["Main Window", "Window A", "Window B"]
Log in to post a comment.