WinApp Driver Connection Issue?
I am not able to make a connection to WinApp Driver through my Python code? Everytime, I am running a script it shows a "Bad Request" at WinApp Driver? Could anyone help us with this issue?
Did you connect to WinAppDriver directly?
I think you can connect to Win Driver thru Appium
I connected through Appium only, van!
Can you please provide more: your code, appium and winappdriver version?
Are you able to get driver status by postman: http://<your_appium_server>:4723/get ?
Recently I have the same issue after upgrading our selenium to latest release and resolved it.
WindowsOptions options = new WindowsOptions(); options.setApp("C:\\Windows\\System32\\notepad.exe"); options.setCapability("appium:automationName", "windows"); options.setCapability("platformName", "windows"); CalculatorSession = new WindowsDriver(new URL("<your_appium_server>:4723"), options); CalculatorSession.manage().timeouts().implicitlyWait(100, TimeUnit.SECONDS);
You are using selenium4, It will not work as winappdriver is not yet W3C compliant. Downgrade to selenium3. Also I would advice not to use appium but winappdriver.exe
Please check