You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
describe"#html"dobug"#html changes charset",:watir_nokogiridoit"returns the DOM of the page as an HTML string"dobrowser.goto(WatirSpec.url_for("right_click.html"))html=browser.html.downcase# varies between browsershtml.should =~ /^<html/html.shouldinclude('<meta ')html.shouldinclude(' content="text/html; charset=utf-8"')not_compliant_on:internet_explorerdohtml.shouldinclude(' http-equiv="content-type"')enddeviates_on:internet_explorer9,:internet_explorer10dohtml.shouldinclude(' http-equiv="content-type"')endnot_compliant_on:internet_explorer9,:internet_explorer10dodeviates_on:internet_explorerdohtml.shouldinclude(' http-equiv=content-type')endendendendend
This fails due to the "charset" value being changed by nokogiri.
The text was updated successfully, but these errors were encountered:
See failing spec - https://github.com/jkotests/watir-nokogiri/blob/master/spec/watirspec/browser_spec.rb#L23-L46
This fails due to the "charset" value being changed by nokogiri.
The text was updated successfully, but these errors were encountered: