Again, can't speak for Micro Focus; but ourselves, we occasionally need to broadcast some information (originating in our container app) to all our injected scripts in all tabs of all windows: e.g., we need to let our scripts know that the user did log in or log out (compare please https://forums.developer.apple.com/message/341750#341750).
Anyway, for us, all of these needs can be comparatively easily worked around. Nevertheless, it would be convenient if you could add something more or less like this:
@interface SFSafariApplication
+(void)getWindowsWithCompletionHandler:(void(^)(NSArray<sfsafariwindow*>*windows))completionHandler;
@end
@interface SFSafariWindow
@property (readonly) BOOL isActive; // I am not sure if this is feasible synchronously; if not, of course, as a get...handler instead
-(void)getTabsWithCompletionHandler:(void (^)(NSArray<sfsafaritab*>*tabs))completionHandler;
@end
@interface SFSafariTab
@property (readonly) BOOL isActive; // same as above
@end
Thanks a lot,
OC