tags:

views:

151

answers:

1

Sometimes when running selenium, it displays a message similar to:

WARN - Invalid length: Content-Length=798242 written=8192

And then Selenium stops responding. The website under automation runs on ASP.NET, and served up via IIS.

How do I prevent Selenium from stopping due to whatever error this is?

+1  A: 

URLs can be only so long. There are hard limits defined in the RFC. I suspect you're issuing a command that results in a URL that exceeds these limits. You need to debug your Selenium scripts and figure out what's causing the problem rather than suppressing this symptom.

sblundy