lib/appium_lib/common/log.rb in appium_lib-9.8.2 vs lib/appium_lib/common/log.rb in appium_lib-9.8.3

- old
+ new

@@ -7,11 +7,11 @@ # # @driver.get_log("syslog") #=> [[Selenium::WebDriver::LogEntry]] # @driver.get_log(:syslog) #=> [[Selenium::WebDriver::LogEntry]] # def get_log(type) - Appium::Core::Logs.new(@driver.manage.logs).get type + @driver.logs.get type end # Get a list of available log types # # @return [[String]] A list of available log types. @@ -19,9 +19,9 @@ # @example # # @driver.get_available_log_types #=> [:syslog, :crashlog, :performance] # def get_available_log_types - Appium::Core::Logs.new(@driver.manage.logs).available_types + @driver.logs.available_types end end # module Common end # module Appium