Class: Capybara::Selenium::IENode
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Node ,
Driver::Node
|
|
Instance Chain:
|
|
Inherits: |
Capybara::Selenium::Node
|
Defined in: | lib/capybara/selenium/nodes/ie_node.rb |
Constant Summary
Node::WhitespaceNormalizer
- Included
BREAKING_SPACES, EMPTY_LINES, LEADING_SPACES, LEFT_TO_RIGHT_MARK, LINE_SEPERATOR, NON_BREAKING_SPACE, PARAGRAPH_SEPERATOR, REMOVED_CHARACTERS, RIGHT_TO_LEFT_MARK, SQUEEZED_SPACES, TRAILING_SPACES, ZERO_WIDTH_SPACE
Scroll
- Included
Node
- Inherited
GET_XPATH_SCRIPT, OBSCURED_OR_OFFSET_SCRIPT, RAPID_APPEND_TEXT
Class Method Summary
Driver::Node
- Inherited
Instance Attribute Summary
- #disabled? ⇒ Boolean readonly
Node
- Inherited
#checked? | Alias for Node#selected?. |
#content_editable?, #disabled?, #multiple?, #readonly?, #selected?, #shadow_root, #visible?, #shadow_root? |
Driver::Node
- Inherited
Instance Method Summary
Node
- Inherited
#[], #all_text, #click, #double_click, #drag_to, #drop, #hover, #obscured?, #path, #rect, #right_click, #select_option, #send_keys, | |
#set | Set the value of the form element to the given value. |
#style, #tag_name, #unselect_option, #value, #visible_text, #action_pause, #action_with_modifiers, #attrs, #auto_rapid_set_length, #boolean_attr, #bridge, #browser, #browser_action, #build_node, #capabilities, #each_key, #find_context, #modifiers_down, #modifiers_up, #native_id, #normalize_keys, #perform_with_options, | |
#select_node | a reference to the select node if this is an option node. |
#set_color, #set_content_editable, #set_date, #set_datetime_local, #set_file, #set_range, #set_text, #set_time, #sibling_index, #update_value_js, #with_file_detector |
Scroll
- Included
Find
- Included
#find_css, #find_xpath, #build_hints_js, #es_context, #filter_by_text, #find_by, #gather_hints, #is_displayed_atom |
Node::WhitespaceNormalizer
- Included
#normalize_spacing | Normalizes the spacing of a node’s text to be similar to what matchers might expect. |
#normalize_visible_spacing | Variant on |
Driver::Node
- Inherited
Constructor Details
This class inherits a constructor from Capybara::Driver::Node
Instance Attribute Details
#disabled? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'lib/capybara/selenium/nodes/ie_node.rb', line 6
def disabled? # super # optimize to one script call 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