Sha256: 5518cee3990a6cb1643f4f163f0a8d344438e5200b5cf207a97335205ee47e3a
Contents?: true
Size: 582 Bytes
Versions: 38
Compression:
Stored size: 582 Bytes
Contents
require 'watirspec_helper' 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/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
38 entries across 38 versions & 1 rubygems