Sha256: 05b127dddc84b52fd8ebbb648dc19a7e6ebbc76c66646fcb1f61623d06a3c21e

Contents?: true

Size: 1.68 KB

Versions: 1

Compression:

Stored size: 1.68 KB

Contents

# These are provided for backwards compatability with Watir 1.1

module Watir
    module Container
        alias waitForIE wait
        alias fileField file_field
        alias textField text_field
        alias selectBox select_list
        alias checkBox checkbox
    end
    class IE
        alias getStatus status
        alias getDocument document
        alias pageContainsText contains_text
        alias waitForIE wait
        alias getHTML html
        alias getText text
        alias showFrames show_frames
        alias showForms show_forms
        alias showImages show_images
        alias showLinks show_links
        alias showActive show_active
        alias showAllObjects show_all_objects
        def   getIE; @ie; end
        
    end
    class Element
        alias getOLEObject ole_object 
        alias fireEvent fire_event        
        alias innerText text
        alias afterText after_text
        alias beforeText before_text
    end    
    class Frame        
        alias getDocument document
        alias waitForIE wait
    end
    class Form        
        alias waitForIE wait 
    end


    class Image
      alias fileCreatedDate file_created_date
      alias fileSize file_size
      alias hasLoaded? loaded?
    end
    
    class RadioCheckCommon
      alias getState set?
      alias isSet?   set?
    end
    
    class TextField
        alias readOnly? :readonly?
        alias getContents value
        alias maxLength maxlength
        alias dragContentsTo drag_contents_to
    end 
    
    class SelectList
        alias getAllContents options
        alias getSelectedItems selected_options
        alias clearSelection clear
        alias includes? include?
    end   
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
watir-1.6.5 lib/watir/camel_case.rb