Sha256: e1dfae85dedec3cb914c16cce465bd18fde69201ae7a1eedb3a7bbc4d3510adb
Contents?: true
Size: 868 Bytes
Versions: 14
Compression:
Stored size: 868 Bytes
Contents
module Appium module Core class Logs def initialize(bridge) @bridge = bridge end # @param [String|Hash] type You can get particular type's logs. # @return [[Selenium::WebDriver::LogEntry]] A list of logs data. # # @example # Appium::Core::Logs.new(driver).get("syslog") #=> [[Selenium::WebDriver::LogEntry]] # Appium::Core::Logs.new(driver).get(:syslog) #=> [[Selenium::WebDriver::LogEntry]] # def get(type) @bridge.get type end # Get a list of available log types # # @return [[Hash]] A list of available log types. # @example # Appium::Core::Logs.new(driver).available_types #=> [:syslog, :crashlog, :performance] # def available_types @bridge.available_types end end end # module Core end # module Appium
Version data entries
14 entries across 14 versions & 2 rubygems