Skip to content

Instantly share code, notes, and snippets.

@raldred
Created April 6, 2009 16:11
Show Gist options
  • Save raldred/90810 to your computer and use it in GitHub Desktop.
Save raldred/90810 to your computer and use it in GitHub Desktop.
### link object
(rdb:1) @browser.link(:text, text).inspect
"#<Watir::Container::Link:0x37ce1f8 @what=\"Delete\", @scripter=#<Watir::AppleScripter:0x38521ec
@document=app(\"/Applications/Safari.app\").documents[1], @typing_lag=0.08, @js=#<Watir::JavaScripter:0x38521c4>, @element=nil, @app=app(\"/Applications/Safari.app\")>, @how=:text>"
### methods
(rdb:1) @browser.link(:text, text).methods
["contains_text", "text_field", "speak", "label", "remove_subclasses_of", "extend_with_included_modules_from", "methods", "send", "tag", "span", "should", "silence_warnings",
"taint", "instance_variable_defined?", "require_or_load", "require", "pretty_print_instance_variables",
"b64encode", "singleton_methods", "instance_eval", "cucumber_instance_exec", "pretty_print", "what",
"image", "nil?", "cucumber_run_with_backtrace_filtering", "enable_warnings", "to_yaml", "subclasses_of",
"instance_values", "protected_methods", "instance_exec", "display", "to_param", "tainted?", "method",
"speed=", "untaint", "instance_of?", "frame", "operate", "to_json", "link", "taguri", "equal?", "name",
"require_association", "click", "checkbox", "silence_stderr", "instance_variable_names", "taguri=", "hash",
"html", "private_methods", "to_query", "present?", "`", "should_not", "encode64", "kind_of?",
"cucumber_compatible_arity?", "freeze", "table", "to_yaml_style", "eql?", "form", "cucumber_arity", "id",
"silence_stream", "select_list", "acts_like?", "copy_instance_variables_from", "pretty_print_inspect",
"public_methods", "password", "decode64", "object_id", "is_a?", "debugger",
"load_with_new_constant_marking", "require_dependency", "tap", "exist?", "type", "row",
"instance_variables", "text", "__id__", "frozen?", "pretty_print_cycle", "decode_b", "to_enum", "to_a",
"cell", "breakpoint", "respond_to?", "pretty_inspect", "returning", "class", "exists?", "suppress",
"metaclass", "instance_variable_get", "==", "dclone", "__send__", "how", "===", "enum_for", "extend",
"to_s", "unloadable", "binding_n", "to_yaml_properties", "set_slow_speed", "radio", "clone", "with_options",
"=~", "duplicable?", "instance_variable_set", "daemonize", "button", "extended_by", "inspect", "blank?",
"div", "is_haml?", "class_eval", "dup", "require_library_or_gem", "set_fast_speed"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment