Sha256: 42aaab861cee8c3002d5ec9064012e6e3bea223167151bcfbdf88f3543b97b35

Contents?: true

Size: 569 Bytes

Versions: 2

Compression:

Stored size: 569 Bytes

Contents

require_relative '../client'

module TrueAutomation
  module Driver
    class AppiumLib < Appium::Core::Driver
      def initialize(*args)
        @ta_client = TrueAutomation::Client.new
        @remote = ''
        super
      end

      def start_driver(*args)
        @ta_client.start(port: @port,
                         remote: @remote,
                         ta_debug: @ta_debug,
                         driver: 'appium')

        @ta_client.wait_until_start

        at_exit do
          @ta_client.stop
        end
        super
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
true_automation-0.5.9 lib/true_automation/driver/appium_lib.rb
true_automation-0.5.6 lib/true_automation/driver/appium_lib.rb