Class: Capybara::Driver::Node

### Home Classes Methods

### In Files

- lib/capybara/driver/node.rb

### Parent

Object

### Methods

- ::new
- #==
- #[]
- #all_text
- #checked?
- #click
- #disabled?
- #double_click
- #drag_to
- #hover
- #inspect
- #path
- #right_click
- #select_option
- #selected?
- #set
- #tag_name
- #trigger
- #unselect_option
- #value
- #visible?
- #visible_text

### Files

- another_test_file.txt
- test_file.txt

### Class/Module Index

Quicksearch

- Capybara
- Capybara::Ambiguous
- Capybara::CapybaraError
- Capybara::DSL
- Capybara::Driver
- Capybara::Driver::Base
- Capybara::Driver::Node
- Capybara::DriverNotFoundError
- Capybara::ElementNotFound
- Capybara::ExpectationNotMet
- Capybara::Features
- Capybara::FileNotFound
- Capybara::FrozenInTime
- Capybara::Helpers
- Capybara::InfiniteRedirectError
- Capybara::ModalNotFound
- Capybara::Node
- Capybara::Node::Actions
- Capybara::Node::Base
- Capybara::Node::Document
- Capybara::Node::DocumentMatchers
- Capybara::Node::Element
- Capybara::Node::Finders
- Capybara::Node::Matchers
- Capybara::Node::Simple
- Capybara::NotSupportedByDriverError
- Capybara::Queries
- Capybara::Queries::BaseQuery
- Capybara::Queries::TextQuery
- Capybara::Queries::TitleQuery
- Capybara::Query
- Capybara::RSpecMatchers
- Capybara::RSpecMatchers::BecomeClosed
- Capybara::RSpecMatchers::HaveSelector
- Capybara::RSpecMatchers::HaveText
- Capybara::RSpecMatchers::HaveTitle
- Capybara::RSpecMatchers::Matcher
- Capybara::RackTest
- Capybara::RackTest::Browser
- Capybara::RackTest::CSSHandlers
- Capybara::RackTest::Driver
- Capybara::RackTest::Form
- Capybara::RackTest::Form::NilUploadedFile
- Capybara::RackTest::Node
- Capybara::ReadOnlyElementError
- Capybara::Result
- Capybara::ScopeError
- Capybara::Selector
- Capybara::Selector::Filter
- Capybara::Selenium
- Capybara::Selenium::Driver
- Capybara::Selenium::Node
- Capybara::Server
- Capybara::Server::Middleware
- Capybara::Session
- Capybara::SpecHelper
- Capybara::UnselectNotAllowed
- Capybara::Window
- Capybara::WindowError
- TestApp
- TestApp::TestAppError
- Object

No matching classes.

# Capybara::Driver::Node

### Attributes

driver[R]
native[R]

### Public Class Methods

new(driver, native) click to toggle source

    # File lib/capybara/driver/node.rb, line 6
    def initialize(driver, native)
      @driver = driver
      @native = native
    end

### Public Instance Methods

==(other) click to toggle source

    # File lib/capybara/driver/node.rb, line 95
    def ==(other)
      raise NotSupportedByDriverError, 'Capybara::Driver::Node#=='
    end

[](name) click to toggle source

    # File lib/capybara/driver/node.rb, line 19
    def [](name)
      raise NotImplementedError
    end

all_text() click to toggle source

    # File lib/capybara/driver/node.rb, line 11
    def all_text
      raise NotImplementedError
    end

checked?() click to toggle source

    # File lib/capybara/driver/node.rb, line 69
    def checked?
      raise NotImplementedError
    end

click() click to toggle source

    # File lib/capybara/driver/node.rb, line 41
    def click
      raise NotImplementedError
    end

disabled?() click to toggle source

    # File lib/capybara/driver/node.rb, line 77
    def disabled?
      raise NotImplementedError
    end

double_click() click to toggle source

    # File lib/capybara/driver/node.rb, line 49
    def double_click
      raise NotImplementedError
    end

drag_to(element) click to toggle source

    # File lib/capybara/driver/node.rb, line 57
    def drag_to(element)
      raise NotImplementedError
    end

hover() click to toggle source

    # File lib/capybara/driver/node.rb, line 53
    def hover
      raise NotImplementedError
    end

inspect() click to toggle source

    # File lib/capybara/driver/node.rb, line 89
    def inspect
      %(#<#{self.class} tag="#{tag_name}" path="#{path}">)
    rescue NotSupportedByDriverError
      %(#<#{self.class} tag="#{tag_name}">)
    end

path() click to toggle source

    # File lib/capybara/driver/node.rb, line 81
    def path
      raise NotSupportedByDriverError, 'Capybara::Driver::Node#path'
    end

right_click() click to toggle source

    # File lib/capybara/driver/node.rb, line 45
    def right_click
      raise NotImplementedError
    end

select_option() click to toggle source

    # File lib/capybara/driver/node.rb, line 33
    def select_option
      raise NotImplementedError
    end

selected?() click to toggle source

    # File lib/capybara/driver/node.rb, line 73
    def selected?
      raise NotImplementedError
    end

set(value, options={}) click to toggle source

@param value String or Array. Array is only allowed if node has 'multiple' attribute @param options [Hash{}] Driver specific options for how to set a value on a node

    # File lib/capybara/driver/node.rb, line 29
    def set(value, options={})
      raise NotImplementedError
    end

tag_name() click to toggle source

    # File lib/capybara/driver/node.rb, line 61
    def tag_name
      raise NotImplementedError
    end

trigger(event) click to toggle source

    # File lib/capybara/driver/node.rb, line 85
    def trigger(event)
      raise NotSupportedByDriverError, 'Capybara::Driver::Node#trigger'
    end

unselect_option() click to toggle source

    # File lib/capybara/driver/node.rb, line 37
    def unselect_option
      raise NotImplementedError
    end

value() click to toggle source

    # File lib/capybara/driver/node.rb, line 23
    def value
      raise NotImplementedError
    end

visible?() click to toggle source

    # File lib/capybara/driver/node.rb, line 65
    def visible?
      raise NotImplementedError
    end

visible_text() click to toggle source

    # File lib/capybara/driver/node.rb, line 15
    def visible_text
      raise NotImplementedError
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.