OpenQA.Selenium.WebDriverException : A exception with a null response was thrown sending an HTTP request to the remote WebDriver server for URL http://127.0.0.1:5555/wd/hub/session. The status of the exception was ReceiveFailure, and the message was: The underlying connection was closed: An unexpected error occurred on a receive. ----> System.Net.WebException : The underlying connection was closed: An unexpected error occurred on a receive. ----> System.IO.IOException : Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ----> System.Net.Sockets.SocketException : An existing connection was forcibly closed by the remote host TearDown : System.Exception : Error while performing ScrollUpTo(Text("Inspection Report"), null, Auto, 0.67, 500, True, null) ----> System.Exception : Unable to scroll, no element were found by query: Id("content") Stack Trace: AppiumCommandExecutor.Execute(Command commandToExecute) RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters) AppiumDriver`1.Execute(String driverCommandToExecute, Dictionary`2 parameters) RemoteWebDriver.StartSession(ICapabilities desiredCapabilities) RemoteWebDriver.ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities) AppiumDriver`1.ctor(Uri remoteAddress, ICapabilities appiumOptions) AndroidDriver`1.ctor(Uri remoteAddress, DriverOptions driverOptions) PhotoDocumentationPage.TakePicture() line 71 PhotoDocumentationSteps.AddPhoto() line 38 PhotoDocumentationTests.TestCamera() line 27 --WebException HttpWebRequest.GetResponse() HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo) --IOException NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead) --SocketException Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)