Sha256: e58d76c337867bd0006c555f7803e9e5cf6307f94dc98a28204e3357e03d9cc7
Contents?: true
Size: 487 Bytes
Versions: 12
Compression:
Stored size: 487 Bytes
Contents
# frozen_string_literal: true module PageMagic class Element class Selector # module SelectorMethods - adds method for getting and setting an element selector module Methods # Gets/Sets a selector # @param [Hash<Symbol,String>] 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 end
Version data entries
12 entries across 12 versions & 1 rubygems