WinAppDriver icon indicating copy to clipboard operation
WinAppDriver copied to clipboard

Webdriver Exception occured with V1.2.99 but it's working fine V1.22.1

Open AmitTiwari094 opened this issue 3 years ago • 3 comments

OpenQA.Selenium.WebDriverException HResult=0x80131500 Message=An unknown server-side error occurred while processing the command. Original error: WinAppDriver server is not listening within 10000ms timeout. Make sure it could be started manually Source=WebDriver StackTrace: at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse) at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary2 parameters) at OpenQA.Selenium.Appium.AppiumDriver1.Execute(String driverCommandToExecute, Dictionary2 parameters) at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredCapabilities) at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities) at OpenQA.Selenium.Appium.AppiumDriver1..ctor(AppiumLocalService service, ICapabilities appiumOptions) at OpenQA.Selenium.Appium.Windows.WindowsDriver`1..ctor(AppiumLocalService service, AppiumOptions AppiumOptions)

I was trying to run the Winapp driver server with AppiumServiceBuilder and I got the above exception

I have used the below code, where the exception occurred:-

var LocalService = new AppiumServiceBuilder().WithIPAddress("127.0.0.1").UsingPort(4723).WithLogFile(new System.IO.FileInfo(@"D:\C#\LogFile\Trace.txt")).Build(); LocalService.Start(); AppiumOptions capp = new AppiumOptions(); capp.AddAdditionalCapability("app", "app path"); WindowsDriver<WindowsElement> T1 = new WindowsDriver<WindowsElement>(LocalService, capp);

AmitTiwari094 avatar Jan 15 '23 20:01 AmitTiwari094

are you able to start it manually "Message=An unknown server-side error occurred while processing the command. Original error: WinAppDriver server is not listening within 10000ms timeout. Make sure it could be started manually"

anunay1 avatar Jan 16 '23 13:01 anunay1

yes, I am able to start it manually.

AmitTiwari094 avatar Jan 20 '23 10:01 AmitTiwari094

The same situation for me.

mariakrol avatar Jan 22 '24 12:01 mariakrol