2gis / Winium.Desktop

Winium.Desktop is Selenium Remote WebDriver implementation for automated testing of Windows application based on WinFroms and WPF platforms.
Mozilla Public License 2.0
404 stars 140 forks source link

Error running C# Winium Cruciatus Calculator Program #110

Open Stimcho opened 8 years ago

Stimcho commented 8 years ago

I'm receiving the following error message using C# Winium Cruciatus at line: var driver = new RemoteWebDriver(new Uri("http://localhost:9999"), dc);

Error: An unhandled exception of type 'OpenQA.Selenium.WebDriverException' occurred in WebDriver.dll Additional information: Unexpected error. System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:9999 at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)

Any ideas? Thanks

skyline-gleb commented 8 years ago

@Stimcho Hi! Sorry to take so long. May I help you now? I am not sure, but perhaps you not started winium.driver before run this code?