Method: Appium::Core::Base::Bridge#log
- Defined in:
- lib/appium_lib_core/common/base/bridge.rb
#log(type) ⇒ Object
For Appium No implementation for W3C webdriver module
281 282 283 284 285 286 287 288 289 290 291 |
# File 'lib/appium_lib_core/common/base/bridge.rb', line 281 def log(type) data = execute :get_log, {}, { type: type.to_s } Array(data).map do |l| # steep:ignore:start ::Selenium::WebDriver::LogEntry.new l.fetch('level', 'UNKNOWN'), l.fetch('timestamp'), l.fetch('message') # steep:ignore:end rescue KeyError next end end |