class Pincers::Core::BaseBackend
Public Instance Methods
as_http_client()
click to toggle source
# File lib/pincers/core/base_backend.rb, line 129 def as_http_client ensure_implementation :as_http_client end
clear_input(_element)
click to toggle source
# File lib/pincers/core/base_backend.rb, line 81 def clear_input(_element) ensure_implementation :clear_input end
click_on_element(_element, _modifiers)
click to toggle source
# File lib/pincers/core/base_backend.rb, line 93 def click_on_element(_element, _modifiers) ensure_implementation :click_on_element end
close_document()
click to toggle source
# File lib/pincers/core/base_backend.rb, line 45 def close_document ensure_implementation :close_document end
document()
click to toggle source
# File lib/pincers/core/base_backend.rb, line 9 def document ensure_implementation :document end
document_root()
click to toggle source
# File lib/pincers/core/base_backend.rb, line 13 def document_root ensure_implementation :document_root end
document_title()
click to toggle source
# File lib/pincers/core/base_backend.rb, line 21 def document_title ensure_implementation :document_title end
document_url()
click to toggle source
# File lib/pincers/core/base_backend.rb, line 17 def document_url ensure_implementation :document_url end
double_click_on_element(_element)
click to toggle source
# File lib/pincers/core/base_backend.rb, line 101 def double_click_on_element(_element) ensure_implementation :double_click_on_element end
drag_and_drop(_element, _into)
click to toggle source
# File lib/pincers/core/base_backend.rb, line 109 def drag_and_drop(_element, _into) ensure_implementation :drag_and_drop end
element_is_actionable?(_element)
click to toggle source
# File lib/pincers/core/base_backend.rb, line 85 def element_is_actionable?(_element) return true end
elements_equal(_element_a, _element_b)
click to toggle source
# File lib/pincers/core/base_backend.rb, line 57 def elements_equal(_element_a, _element_b) _element_a == _element_b end
extract_element_attribute(_element, _name)
click to toggle source
# File lib/pincers/core/base_backend.rb, line 73 def extract_element_attribute(_element, _name) ensure_implementation :extract_element_attribute end
extract_element_html(_element)
click to toggle source
# File lib/pincers/core/base_backend.rb, line 69 def extract_element_html(_element) ensure_implementation :extract_element_html end
extract_element_tag(_element)
click to toggle source
# File lib/pincers/core/base_backend.rb, line 61 def extract_element_tag(_element) ensure_implementation :extract_element_tag end
extract_element_text(_element)
click to toggle source
# File lib/pincers/core/base_backend.rb, line 65 def extract_element_text(_element) ensure_implementation :extract_element_text end
fetch_resource()
click to toggle source
# File lib/pincers/core/base_backend.rb, line 137 def fetch_resource ensure_implementation :fetch_resource end
hover_over_element(_element)
click to toggle source
# File lib/pincers/core/base_backend.rb, line 105 def hover_over_element(_element) ensure_implementation :hover_over_element end
javascript_enabled?()
click to toggle source
# File lib/pincers/core/base_backend.rb, line 5 def javascript_enabled? false end
merge_http_client(_client)
click to toggle source
# File lib/pincers/core/base_backend.rb, line 133 def merge_http_client(_client) # nothing end
refresh_document()
click to toggle source
# File lib/pincers/core/base_backend.rb, line 41 def refresh_document ensure_implementation :refresh_document end
right_click_on_element(_element)
click to toggle source
# File lib/pincers/core/base_backend.rb, line 97 def right_click_on_element(_element) ensure_implementation :right_click_on_element end
search_by_css(_element, _selector, _limit)
click to toggle source
# File lib/pincers/core/base_backend.rb, line 49 def search_by_css(_element, _selector, _limit) ensure_implementation :search_by_css end
search_by_xpath(_element, _selector, _limit)
click to toggle source
# File lib/pincers/core/base_backend.rb, line 53 def search_by_xpath(_element, _selector, _limit) ensure_implementation :search_by_xpath end
set_element_attribute(_element, _name, _value)
click to toggle source
# File lib/pincers/core/base_backend.rb, line 77 def set_element_attribute(_element, _name, _value) ensure_implementation :set_element_attribute end
set_element_text(_element, _value)
click to toggle source
# File lib/pincers/core/base_backend.rb, line 89 def set_element_text(_element, _value) ensure_implementation :set_element_text end
submit_form(_element)
click to toggle source
# File lib/pincers/core/base_backend.rb, line 113 def submit_form(_element) ensure_implementation :submit_form end
switch_to_frame(_element)
click to toggle source
# File lib/pincers/core/base_backend.rb, line 117 def switch_to_frame(_element) ensure_implementation :switch_to_frame end
switch_to_parent_frame()
click to toggle source
# File lib/pincers/core/base_backend.rb, line 125 def switch_to_parent_frame ensure_implementation :switch_to_parent_frame end
switch_to_top_frame()
click to toggle source
# File lib/pincers/core/base_backend.rb, line 121 def switch_to_top_frame ensure_implementation :switch_to_top_frame end
Private Instance Methods
ensure_implementation(_name)
click to toggle source
# File lib/pincers/core/base_backend.rb, line 143 def ensure_implementation(_name) raise Pincers::MissingFeatureError.new _name end