When I open a page with Selenium 2.39.0 and Firefox 26/27, I get the content of the <noscript> tag, so I need to enable javascript somehow. There are tons of materials on how to enable/disable javascript with FirefoxDriver and FirefoxProfile, but I cannot use this approach. Here's why: Selenium fails to open page on localhost
I need to enable javascript when using Selenium "the old way" like this:
browser = new DefaultSelenium("localhost", 4444, "*firefox", "http://localhost/");
How can I do this?