Sha256: 9e5dff45d0dcb80fb9064d2f7c7b463a987b367ed0f0cce31bb7d8b0de6453d8
Contents?: true
Size: 578 Bytes
Versions: 4
Compression:
Stored size: 578 Bytes
Contents
require 'watirspec_helper' describe Watir::Element do describe '#click' do before do browser.goto WatirSpec.url_for('clicks.html') end let(:clicker) { browser.element(id: 'click-logger') } let(:log) { browser.element(id: 'log').ps.map(&:text) } bug 'https://github.com/watir/watir/issues/343', :webdriver do it 'clicks an element with text in nested text node using text selector' do browser.element(text: 'Can You Click This?').click expect(browser.element(text: 'You Clicked It!')).to exist end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
watir-6.16.0 | spec/watirspec/click_spec.rb |
watir-6.15.1 | spec/watirspec/click_spec.rb |
watir-6.15.0 | spec/watirspec/click_spec.rb |
watir-6.14.0 | spec/watirspec/click_spec.rb |