Sha256: 70727520d358fbb4c1b045c92e6065555f2f65d0e6ae8d94ad6b258e5c03f84e
Contents?: true
Size: 471 Bytes
Versions: 6
Compression:
Stored size: 471 Bytes
Contents
# encoding: utf-8 require File.expand_path("watirspec/spec_helper", File.dirname(__FILE__)) describe "Elements" do before :each do browser.goto(WatirSpec.url_for("non_control_elements.html")) end it "returns a collection of Watir::Element when searching with :css" do elements = browser.elements(:css => "div") elements.size.should > 0 elements.each do |element| element.class.should == Watir::Element end end end
Version data entries
6 entries across 6 versions & 1 rubygems