More information about the Underscore mailing list

[_] Web page validation/static analysis tools

Tim Beadle tim.beadle at gmail.com
Tue Nov 13 13:52:50 GMT 2007

On 13/11/2007, Tim Beadle <tim.beadle at gmail.com> wrote:
> Could Selenium do this? I haven't played with it much, but it might be useful:
> http://www.openqa.org/
>
> There are several flavours, including remote-controllable and IDE
> (runs in Firefox).

OK, I tried the Firefox extension version (Selenium IDE), and used
this test line:

Command: assertElementPresent
Target: css=*[style]

That target is using the CSS syntax (other syntaxes are available -
xpath, dom etc.) to look for any element (*) with a style attribute.

You'd add more rules to look for other problem attributes like onmouseover etc.

Hope that helps.

Tim