|
代码能否粘出来。
我google下。看下到有以下几种可能的原因!
1.try encoding the html, all those special characters could be limiting
what's actually getting passed to selenium - so & = & for example.
2.I have worked-around the problem by stopping all HEAD requests in
Apache:
http://techblog.zabuchy.net/2010/how-to-block-http-requests-for-speci...
3.You can try and check this out:
Unable to Load the Browser¶
Ok, not a friendly error message, sorry, but if the Selenium Server
cannot load the browser you will likley see this error.
(500) Internal Server Error
This could be caused by
* Firefox (prior to Selenium 1.0) cannot start because the browser
is already open and you did not specify a separate profile. See the
section on Firefox profiles under Server Options.
* The run mode you’re using doesn’t match any browser on your
machine. Check the parameters you passed to Selenium when you program
opens the browser.
* You specified the path to the browser explicitly (using
“*custom”–see above) but the path is incorrect. Check to be sure the
path is correct. Also check the user group to be sure there are no
known issues with your browser and the “*custom” parameters. |
|