While locally we're having no problems, on a virtual server we're running Jenkins which kicks off Selenium Grid to execute some of our tests.
Exception has been thrown by the target of an invocation. -> No response from server
Every so often, usually on a click event, I get a test failing with a large Selenium error. I'm having no luck reproducing this locally, and am sort of at a loss as to how to proceed in fixing it. I'll include the error below:
Exception has been thrown by the target of an invocation. -> No response from server for url http://vm-selgrid3:5555/wd/hub/session/0894b06e-6e4f-46bc-ba82-f72a75deeb8d/element/12/click
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> OpenQA.Selenium.WebDriverException: No response from server for url http://vm-selgrid3:5555/wd/hub/session/0894b06e-6e4f-46bc-ba82-f72a75deeb8d/element/12/click
at OpenQA.Selenium.Remote.HttpCommandExecutor.CreateResponse(WebRequest request)
at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Remote.RemoteWebElement.Click()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at OpenQA.Selenium.Support.PageObjects.PageFactory.ProxiedWebElementInterceptor.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.IWrapsElementProxy.Click()