Module: SitePrism

Defined in:
lib/site_prism.rb,
lib/site_prism/page.rb,
lib/site_prism/waiter.rb,
lib/site_prism/section.rb,
lib/site_prism/version.rb,
lib/site_prism/loadable.rb,
lib/site_prism/exceptions.rb,
lib/site_prism/element_checker.rb,
lib/site_prism/element_container.rb,
lib/site_prism/addressable_url_matcher.rb

Defined Under Namespace

Modules: ElementChecker, ElementContainer, Loadable Classes: AddressableUrlMatcher, InvalidUrlMatcher, NoSelectorForElement, NoUrlForPage, NoUrlMatcherForPage, Page, Section, TimeOutWaitingForElementInvisibility, TimeOutWaitingForElementVisibility, TimeoutException, UnsupportedBlock, Waiter

Constant Summary collapse

VERSION =
'2.12'.freeze
NotLoadedError =
Class.new(StandardError)

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.use_implicit_waitsObject

Returns the value of attribute use_implicit_waits.



15
16
17
# File 'lib/site_prism.rb', line 15

def use_implicit_waits
  @use_implicit_waits
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (SitePrism)

    the object that the method was called on



17
18
19
# File 'lib/site_prism.rb', line 17

def configure
  yield self
end