Class: Capybara::Driver::Base

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

Direct Known Subclasses

RackTest::Driver, Selenium::Driver

Instance Method Summary (collapse)

Instance Method Details

- (Object) body

Raises:

  • (NotImplementedError)


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

def body
  raise NotImplementedError
end

- (Object) current_url

Raises:

  • (NotImplementedError)


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

def current_url
  raise NotImplementedError
end

- (Object) evaluate_script(script)



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

def evaluate_script(script)
  raise Capybara::NotSupportedByDriverError
end

- (Object) execute_script(script)



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

def execute_script(script)
  raise Capybara::NotSupportedByDriverError
end

- (Object) find(query)

Raises:

  • (NotImplementedError)


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

def find(query)
  raise NotImplementedError
end

- (Boolean) has_shortcircuit_timeout?

Returns:

  • (Boolean)


56
57
58
# File 'lib/capybara/driver/base.rb', line 56

def has_shortcircuit_timeout?
  false
end

- (Object) reset!



53
54
# File 'lib/capybara/driver/base.rb', line 53

def reset!
end

- (Object) response_headers



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

def response_headers
  raise Capybara::NotSupportedByDriverError
end

- (Object) source

Raises:

  • (NotImplementedError)


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

def source
  raise NotImplementedError
end

- (Object) status_code



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

def status_code
  raise Capybara::NotSupportedByDriverError
end

- (Object) visit(path)

Raises:

  • (NotImplementedError)


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

def visit(path)
  raise NotImplementedError
end

- (Boolean) wait?

Returns:

  • (Boolean)


46
47
48
# File 'lib/capybara/driver/base.rb', line 46

def wait?
  false
end

- (Object) wait_until(*args)



50
51
# File 'lib/capybara/driver/base.rb', line 50

def wait_until(*args)
end

- (Object) within_frame(frame_id)



38
39
40
# File 'lib/capybara/driver/base.rb', line 38

def within_frame(frame_id)
  raise Capybara::NotSupportedByDriverError
end

- (Object) within_window(handle)



42
43
44
# File 'lib/capybara/driver/base.rb', line 42

def within_window(handle)
  raise Capybara::NotSupportedByDriverError
end