25542

Attaching WatiN to Firefox

Question:

Using WatiN, Im facing some issues with

FireFox FF = new FireFox ("http://www.google.com");,

FireFox always crashes at this point and VS report :

<blockquote>

Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host

</blockquote>

any idea why this is happening ?

Win7 32Bit - VS2008 - .NET 3.5 - Firefox 3.5 - WatiN-2.0.10.928-net-2.0

Answer1:

The jssh that comes with Watin CTP has an issue with FireFox 3.5.

I downloaded <a href="http://ulti-swat.wikispaces.com/" rel="nofollow">Swat</a> (Simple Web Automation Toolkit - sourceforge project) and it came with a newer version of jssh which is for FF 3.5 and now Watin starts FF successfully..

Answer2:

Doesn't WatiN use COM Interop under the covers? You probably need to run your process as a 32 bit process (i.e. kick off 32 bit NUnit).

Recommend

  • joomla - forcibly get keyword from specific language
  • Is possible to use jQuery intellisense with classic asp?
  • Connection timeout during file provision to azurerm vm
  • static_cast - what does conversion between compatible types mean?
  • C# COM Class - DISP_E_UNKNOWNNAME
  • How to fix “the server certificate is not configured properly with HTTP.SYS” on Windows 7?
  • Upload and download large files - Windows Mobile (Compact Framework) via Web Services (WCF, MTOM, WC
  • Remote debugging of a Java application launched as a Windows service
  • How can I do a 301 redirect from http to https in Wildfly 8.2?
  • How to move axis labels automatically in rgl R
  • How to update powerpivot pivot table filter via cell reference?
  • VBScript to check for open process by user
  • Paramiko SSHException Channel Closed
  • Unable to run SDL program in Eclipse but able to do so in Windows Explorer
  • Can my app be notified when another application starts/stops playing audio?
  • How secure are apple APNS push notifications?
  • apply a javascript function to draggable copy
  • C# fibonacci function returning errors
  • Android changing fragment order inside FragmentPagerAdapter
  • Check for zero lines output from command over SSH
  • nonblocking BIO_do_connect blocked when there is no internet connected
  • Create DicomImage from scratch using Dcmtk
  • Groovy: Unexpected token “:”
  • MailKit: The IMAP server replied to the 'EXAMINE' command with a 'BAD' response
  • Allowing both email and username for authentication
  • SignalR .NET Client Invoke throws an exception
  • Get one-time binding to work for ng-if
  • Azure Cloud Service Web Role web pages do not load
  • Get object from AWS S3 as a stream
  • Cross-Platform Protobuf Serialization
  • Validaiting emails with Net.Mail MailAddress
  • Display Images one by one with next and previous functionality
  • How do you troubleshoot character encoding problems?
  • Do I've to free mysql result after storing it?
  • coudnt use logback because of log4j
  • embed rChart in Markdown
  • Django query for large number of relationships
  • How to get NHibernate ISession to cache entity not retrieved by primary key
  • How can I use `wmic` in a Windows PE script?
  • Unable to use reactive element in my shiny app