Sha256: 843c94585f717ee55b8e2b8d9dfb67b10e070f9ef7a3a97481826cca33bf1fbb
Contents?: true
Size: 576 Bytes
Versions: 8
Compression:
Stored size: 576 Bytes
Contents
# Mirrors the actions specified in user-extensions.js from the selenium-core module SeleniumOnRails::TestBuilderUserActions # Types the text twice into a text box. def type_repeated locator, text command 'typeRepeated', locator, text end private # Generates the corresponding +_and_wait+ for each action. def self.generate_and_wait_actions public_instance_methods.each do |method| define_method method + '_and_wait' do |*args| make_command_waiting do send method, *args end end end end generate_and_wait_actions end
Version data entries
8 entries across 8 versions & 1 rubygems