unable to using winapp

163 Views Asked by At

I am unable to run the code

capabilities.setCapability("app", "C:\\Windows\\System32\\calc.exe");
CalculatorSession = new IOSDriver(new URL("http://127.0.0.1:4723"), capabilities);

this code opens the calculator app but it say IOSDriver is wrong

Original code

I changed just two lines of the code

Software: Java, Eclipse, WinappDriver

I am automating Windows application in Windows 10

1

There are 1 best solutions below

0
On BEST ANSWER

I solved the above problem updating the driver manual rather than taking the auto-suggestion version in maven