Mark Derricutt wrote:

Often during my manual testing, I'm making use of the Firefox WebDeveloper extension and its ability to post the current page to validator.w3.org/check

Is there anyway to automate this with selenium?

I can't see Selenium helping, much.

However, it should be easy enough to do in ${scripting-language-of-choice}. Write a script that:

  - sucks HTML from <someUrl>

  - POSTs it to http://validator.w3.org/check
    (put the HTML in the "fragment" field)

  - scans the resulting HTML (ie. the response from w3.org) for errors

I'd write it for you in Ruby, if I weren't so incredibly lazy.

--
cheers, MikeW                            http://www.dogbiscuit.org/mdub/
_______________________________________________
Selenium-users mailing list
Selenium-users@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users

Reply via email to