Class: Capybara::Driver::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/capybara/driver/base.rb

Direct Known Subclasses

Celerity, RackTest, Selenium

Instance Method Summary collapse

Instance Method Details

#bodyObject

Raises:

  • (NotImplementedError)


26
27
28
# File 'lib/capybara/driver/base.rb', line 26

def body
  raise NotImplementedError
end

#cleanup!Object



34
35
# File 'lib/capybara/driver/base.rb', line 34

def cleanup!
end

#current_urlObject

Raises:

  • (NotImplementedError)


2
3
4
# File 'lib/capybara/driver/base.rb', line 2

def current_url
  raise NotImplementedError
end

#evaluate_script(script) ⇒ Object



14
15
16
# File 'lib/capybara/driver/base.rb', line 14

def evaluate_script(script)
  raise Capybara::NotSupportedByDriverError
end

#find(query) ⇒ Object

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/capybara/driver/base.rb', line 10

def find(query)
  raise NotImplementedError
end

#response_headersObject



22
23
24
# File 'lib/capybara/driver/base.rb', line 22

def response_headers
  raise Capybara::NotSupportedByDriverError
end

#sourceObject

Raises:

  • (NotImplementedError)


30
31
32
# File 'lib/capybara/driver/base.rb', line 30

def source
  raise NotImplementedError
end

#visit(path) ⇒ Object

Raises:

  • (NotImplementedError)


6
7
8
# File 'lib/capybara/driver/base.rb', line 6

def visit(path)
  raise NotImplementedError
end

#wait?Boolean

Returns:

  • (Boolean)


18
19
20
# File 'lib/capybara/driver/base.rb', line 18

def wait?
  false
end