WinAppDriver
WinAppDriver copied to clipboard
how to maximize or minimize a window which is Webelement
I am also facing the same issue, the only problem is my window is a child of the application window. Hence In my case my window object is Webelement.
I can't use session handel as it will maximize or minimize the parent window. There seems to be no way to cast webelement to windowselement cant set attribute value to an object (Window.WindowVisualState: Maximized (1))
Originally posted by @vaib-ag in https://github.com/Microsoft/WinAppDriver/issues/423#issuecomment-477438982