Sha256: abbc483da8360a563da13d3a52063c18166e157e7e8692999ace5994337aa2f1
Contents?: true
Size: 628 Bytes
Versions: 4
Compression:
Stored size: 628 Bytes
Contents
require File.expand_path('../watirspec/spec_helper', __FILE__) describe Watir::Element do describe "#click" do before { browser.goto WatirSpec.url_for('clicks.html') } let(:clicker) { browser.element(id: "click-logger") } let(:log) { browser.element(id: "log").ps.map { |e| e.text } } bug "https://github.com/watir/watir-webdriver/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-webdriver-0.9.9 | spec/click_spec.rb |
watir-webdriver-0.9.3 | spec/click_spec.rb |
watir-webdriver-0.9.2 | spec/click_spec.rb |
watir-webdriver-0.9.1 | spec/click_spec.rb |