A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.rubydoc.info/github/teamcapybara/capybara/Capybara/Selenium/IENode below:

IENode – Documentation for teamcapybara/capybara (master) – RubyDoc.info

Class: Capybara::Selenium::IENode Constant Summary Constants included from Node::WhitespaceNormalizer

Node::WhitespaceNormalizer::BREAKING_SPACES, Node::WhitespaceNormalizer::EMPTY_LINES, Node::WhitespaceNormalizer::LEADING_SPACES, Node::WhitespaceNormalizer::LEFT_TO_RIGHT_MARK, Node::WhitespaceNormalizer::LINE_SEPERATOR, Node::WhitespaceNormalizer::NON_BREAKING_SPACE, Node::WhitespaceNormalizer::PARAGRAPH_SEPERATOR, Node::WhitespaceNormalizer::REMOVED_CHARACTERS, Node::WhitespaceNormalizer::RIGHT_TO_LEFT_MARK, Node::WhitespaceNormalizer::SQUEEZED_SPACES, Node::WhitespaceNormalizer::TRAILING_SPACES, Node::WhitespaceNormalizer::ZERO_WIDTH_SPACE

Instance Attribute Summary Attributes inherited from Driver::Node

#driver, #initial_cache, #native

Instance Method Summary collapse Methods inherited from Node

#[], #all_text, #click, #content_editable?, #double_click, #drag_to, #drop, #hover, #multiple?, #obscured?, #path, #readonly?, #rect, #right_click, #select_option, #selected?, #send_keys, #set, #shadow_root, #style, #tag_name, #unselect_option, #value, #visible?, #visible_text

Methods included from Scroll

#scroll_by, #scroll_to

Methods included from Find

#find_css, #find_xpath

Methods included from Node::WhitespaceNormalizer

#normalize_spacing, #normalize_visible_spacing

Methods inherited from Driver::Node

#==, #[], #all_text, #checked?, #click, #double_click, #drag_to, #drop, #hover, #initialize, #inspect, #multiple?, #obscured?, #path, #readonly?, #rect, #right_click, #scroll_by, #scroll_to, #select_option, #selected?, #send_keys, #set, #shadow_root, #style, #tag_name, #trigger, #unselect_option, #value, #visible?, #visible_text

Instance Method Details #disabled? ⇒ Boolean
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/capybara/selenium/nodes/ie_node.rb', line 6

def disabled?
      driver.evaluate_script <<~JS.delete("\n"), self
    arguments[0].msMatchesSelector('
      :disabled,
      select:disabled *,
      optgroup:disabled *,
      fieldset[disabled],
      fieldset[disabled] > *:not(legend),
      fieldset[disabled] > *:not(legend) *,
      fieldset[disabled] > legend:nth-of-type(n+2),
      fieldset[disabled] > legend:nth-of-type(n+2) *
    ')
  JS
end

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4