Module: Capybara::Chrome::Debug
Instance Method Summary collapse
Instance Method Details
#debug(*args) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/capybara/chrome/debug.rb', line 4 def debug(*args) if Capybara::Chrome.configuration.debug p [caller_locations(1,1)[0].label, *args, Time.now.to_i] end return args[0] end |
#info(*args) ⇒ Object
11 12 13 14 |
# File 'lib/capybara/chrome/debug.rb', line 11 def info(*args) p [caller_locations(1,1)[0].label, *args, Time.now.to_i] return args[0] end |