asas
asas

Reputation: 135

is there library rether than HtmlUnit that support javascript

hello i am using htmlunit for the first time and i have the following error .

TypeError: Cannot find function enableSuggest in object [object Object]. (script in http://mysite.aspx from (854, 32) to (859, 10)#857)] com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function enableSuggest in object [object Object]. (script in http:

is it not supporting the script in my site ?if yes what solution or library is to be use

Upvotes: 1

Views: 298

Answers (2)

perdian
perdian

Reputation: 2843

http://httpunit.sourceforge.net/ supports JavaScript however as far as I can tell from my experience the support is far from perfect.

Upvotes: 0

skaffman
skaffman

Reputation: 403521

HtmlUnit supports a "standard" set of javascript objects and functions, but it's pretty easy to trip it up and throw it something it can't handle. Sounds like you have one of those.

What are you trying to achieve?

Upvotes: 1

Related Questions