How to switch Windows in Winium?

Good day!
Use for testing desktop application (thick client) library - Winium. Trying to switch to another window using the following code but it does not work:
window = driverWinium.findElementByClassName("TNavigatorForm");

 WebElement newWindow = driverWinium.findElement(By.className("TNavigatorForm"));
 NewWindowHandle String = newWindow.getAttribute("NativeWindowHandle");

What could be the error?
April 4th 20 at 13:28
0 answer

Find more questions by tags AutomationTesting softwareSelenium