Sometimes you need to execute JavaScript code at a browser side and get the result. You can do this with Navigator.ExecJS.
In this article we will get contents of the HEAD element to get the links to all referenced stylesheets. It may be useful if you plan to verify that a set of CSS did not change for a page.