Sha256: 8b9ad8bfb7f0bd355fefd29baa80a2baa773571d4f43a970b488d8880f8c8c34
Contents?: true
Size: 676 Bytes
Versions: 1
Compression:
Stored size: 676 Bytes
Contents
require 'rspec/expectations' require 'appium_lib' require 'cucumber/ast' require 'Ifd_Mobile' $current_dir = File.expand_path(File.dirname(__FILE__)) $base_dir = File.expand_path(File.dirname(__FILE__) + '/../..') $_CONFIG = Hash.new PROJECT_CONFIG = YAML.load_file("#{$current_dir}/project_config.yml") $_CONFIG['Print Log'] = true $_CONFIG['Wait Time'] = PROJECT_CONFIG["wait_time"] class AppiumWorld end Appium::Driver.new({caps: PROJECT_CONFIG['capabilities'], appium_lib: {server_url: PROJECT_CONFIG["server_url"]}}).start_driver Appium.promote_appium_methods AppiumWorld World do AppiumWorld.new end def selenium return $driver end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
Ifd_Mobile-1.0.0 | project/features/support/env.rb |