Sha256: 4f7e3d604357f0d75d8bd2a62574f09baa266ef007c66bcd818cd57386cd51ef
Contents?: true
Size: 403 Bytes
Versions: 8
Compression:
Stored size: 403 Bytes
Contents
require File.expand_path('watirspec/spec_helper', File.dirname(__FILE__)) describe Watir::Element do describe "#send_keys" do it "sends keystrokes to the element" do browser.goto("file://" + File.expand_path("html/keylogger.html", File.dirname(__FILE__))) browser.div(:id, 'receiver').send_keys("hello world") browser.div(:id, 'output').ps.size.should == 11 end end end
Version data entries
8 entries across 8 versions & 2 rubygems