views:

49

answers:

1

Can rhino parse full HTML file with JS in it ?

+1  A: 

Rhino itself is a Javacript engine not a full browser DOM implementation. The HTML parsing and DOM API must be provided by something else.

HtmlUnit is a program that emulates a web browser. It uses Rhino to run Javascript on the page.

Alexandre Jasmin