Sha256: 8f0c323df6380e2922ec2ee2c7a2dfad47afc47fd6a7756629db11b5b150bc00
Contents?: true
Size: 469 Bytes
Versions: 2
Compression:
Stored size: 469 Bytes
Contents
# encoding: utf-8 require File.expand_path("watirspec/spec_helper", File.dirname(__FILE__)) describe "SelectList" do before do browser.goto(WatirSpec.url_for("frames.html")) end context "#select" do it "selects option within frame" do list = browser.frame.select_list expect(list).to exist expect(list).to be_selected("value1") list.select "value2" expect(list).to be_selected("value2") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
watir-classic-4.3.0 | spec/select_list_spec.rb |
watir-classic-4.2.0 | spec/select_list_spec.rb |