Sha256: 66d01183be25524438df6fa4eb0850fc71a3aee9916231f8d9013c7337acec64
Contents?: true
Size: 502 Bytes
Versions: 1
Compression:
Stored size: 502 Bytes
Contents
module Capybara::Accessible module Adapters class Poltergeist def failures_script 'return axs.Audit.auditResults(results).getErrors()' end def create_report_script 'return axs.Audit.createReport(results)' end def run_javascript(driver, script) # Have to wrap in an anonymous function because of https://github.com/jonleighton/poltergeist/issues/198 driver.evaluate_script %{ (function() {#{script}})() } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capybara-accessible-0.3.0 | lib/capybara/accessible/adapters/poltergeist.rb |