Sha256: cf9400ccd8e7c54e890e901559c67d751b5f0f3b3644d143de98a36c7ac5254b
Contents?: true
Size: 854 Bytes
Versions: 1
Compression:
Stored size: 854 Bytes
Contents
require 'rspec/expectations' require 'appium_lib' require 'cucumber/ast' require 'selenium-webdriver' require 'open-uri' require 'rbconfig' require 'rubygems' require 'yaml' require 'cucumber' require 'rack/utf8_sanitizer' require 'net/https' 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.1.0 | project/features/support/env.rb |