Error System.IO.IOException, A blocking operation was interrupted

322 views
Skip to first unread message

Moises Siles

unread,
Mar 14, 2013, 6:36:01 PM3/14/13
to webd...@googlegroups.com
I got the  error below when the following code was executed, this is the first time I saw that error in my scripts.... I'm using the latest version of webdriver and C#, Firefox 18.....

                var wait = new WebDriverWait(webDriver, TimeSpan.FromSeconds(int.Parse(ConfigurationManager.AppSettings["TimeOut"])));

                wait.Until(driver => ((IJavaScriptExecutor)webDriver).ExecuteScript("return document.readyState").Equals("complete"));




System.IO.IOException: Unable to read data from the transport connection: A blocking operation was interrupted by a call to WSACancelBlockingCall. ---> System.Net.Sockets.SocketException: A blocking operation was interrupted by a call to WSACancelBlockingCall
    at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
 --- End of inner exception stack trace ---


Does anyone know something about this?
Reply all
Reply to author
Forward
0 new messages