Sha256: 1b24b1e9f75bcc0e1c7ca40d5c52ee36de3ced8186765de8be8487dffd30c368
Contents?: true
Size: 403 Bytes
Versions: 20
Compression:
Stored size: 403 Bytes
Contents
module PageMagic class Element # module SelectorMethods - adds method for getting and setting an element selector module SelectorMethods # Gets/Sets a selector # @param [Hash] selector method for locating the browser element. E.g. text: 'the text' def selector(selector = nil) return @selector unless selector @selector = selector end end end end
Version data entries
20 entries across 20 versions & 1 rubygems