html_cs_run_parse 0.0.2 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/HTMLCS.js +33 -630
- data/lib/html_cs_run_parse.rb +2 -2
- metadata +1 -1
data/lib/html_cs_run_parse.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
require '
|
1
|
+
require 'utility/parse_machine'
|
2
2
|
|
3
3
|
#this gem is specifically for running HTMLCS
|
4
4
|
class HTMLCS
|
5
5
|
def self.run_html_cs(browser, file_name)
|
6
|
-
browser.execute_script(File.read("
|
6
|
+
browser.execute_script(File.read(File.expand_path("../HTMLCS.js", __FILE__)))
|
7
7
|
browser.execute_script("HTMLCS_RUNNER.run('WCAG2AA')")
|
8
8
|
output = browser.driver.manage.logs.get(:browser)
|
9
9
|
parse = ParseMachine.new
|