Sha256: 72e225e4ac355675d392e0c5a53e7874bf6cac563c8d4674383e27a32a7fbed9
Contents?: true
Size: 606 Bytes
Versions: 8
Compression:
Stored size: 606 Bytes
Contents
require 'watirspec_helper' describe Watir::Browser do before do browser.goto WatirSpec.url_for('special_chars.html') end it 'finds elements with single quotes' do expect(browser.div(text: "single 'quotes'")).to exist end it 'finds elements with non-standard character locators' do expect(browser.div('we{ird' => 'foo')).to exist expect(browser.div('we{ird': 'foo')).to exist end it 'finds element with underscored attribute' do expect(browser.div('underscored_attribute' => 'true')).to exist expect(browser.div('underscored_attribute' => true)).to exist end end
Version data entries
8 entries across 8 versions & 1 rubygems