Sha256: 13a430f9e99e72eaf533e3df71fa7c28847ab57031b6b101427ed86708539b6e
Contents?: true
Size: 542 Bytes
Versions: 1
Compression:
Stored size: 542 Bytes
Contents
module Pagetience module ElementPlatforms class Base attr_reader :browser class << self def find(klazz) valid_ancestor = ANCESTORS.find { |a| a.present? klazz } if valid_ancestor valid_ancestor.new klazz end end end def initialize(*args) @browser = nil end def platform_initialize(*args); end def underlying_element_for(sym) nil end def is_element_present?(sym) false end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pagetience-0.4.0 | lib/pagetience/platforms/base.rb |