Sha256: 186166bf17acc5e6010b684381f0fa69f58dd8304d887072214fb5fa4e566061

Contents?: true

Size: 1.27 KB

Versions: 4

Compression:

Stored size: 1.27 KB

Contents

class Capybara::Driver::Base
  def current_url
    raise NotImplementedError
  end

  def visit(path)
    raise NotImplementedError
  end

  def find_xpath(query)
    raise NotImplementedError
  end
  
  def find_css(query)
    raise NotImplementedError
  end

  def html
    raise NotImplementedError
  end

  def execute_script(script)
    raise Capybara::NotSupportedByDriverError, 'Capybara::Driver::Base#execute_script'
  end

  def evaluate_script(script)
    raise Capybara::NotSupportedByDriverError, 'Capybara::Driver::Base#evaluate_script'
  end

  def save_screenshot(path, options={})
    raise Capybara::NotSupportedByDriverError, 'Capybara::Driver::Base#save_screenshot'
  end

  def response_headers
    raise Capybara::NotSupportedByDriverError, 'Capybara::Driver::Base#response_headers'
  end

  def status_code
    raise Capybara::NotSupportedByDriverError, 'Capybara::Driver::Base#status_code'
  end

  def within_frame(frame_handle)
    raise Capybara::NotSupportedByDriverError, 'Capybara::Driver::Base#within_frame'
  end

  def within_window(handle)
    raise Capybara::NotSupportedByDriverError, 'Capybara::Driver::Base#within_window'
  end

  def invalid_element_errors
    []
  end

  def wait?
    false
  end

  def reset!
  end

  def needs_server?
    false
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
swipe-rails-0.0.5 vendor/bundle/gems/capybara-2.1.0/lib/capybara/driver/base.rb
capybara-2.1.0 lib/capybara/driver/base.rb
capybara-2.1.0.rc1 lib/capybara/driver/base.rb
capybara-2.1.0.beta1 lib/capybara/driver/base.rb