HTML_CodeSniffer icon indicating copy to clipboard operation
HTML_CodeSniffer copied to clipboard

Run HTML Code Sniffer with Selenium Webdriver

Open tapanabes opened this issue 9 years ago • 2 comments

I am using 'HTML Code Sniffer' tool with selenium webdriver to automate my web application. When I run 'html code sniffer' on web page through code it works fine. but when try to run 'html code sniffer' again on other url (through the same webdriver instance) it is not working and give the error 'HTML Code sniffer' not found. Could you please suggest me how to resolve this issue?

tapanabes avatar Mar 03 '15 18:03 tapanabes

This is a bit late in the reply, but it sounds like the HTMLCS javascript files are not being included. We'll need more detailed information to give you a better response. HTMLCS javascript could be included either via the bookmarklet or manually included the HTMLCS.js and HTMLCS.css files into your page.

ironikart avatar Aug 25 '16 00:08 ironikart

I'm also try to automate the web applications using html code sniffer, if u dont mind could u share me the source code.

iamlakshmanan avatar Mar 21 '17 13:03 iamlakshmanan