Module: NativeDriver
- Defined in:
- lib/nativedriver.rb,
lib/nativedriver/version.rb,
lib/nativedriver/android/bridge.rb
Defined Under Namespace
Modules: Android
Constant Summary collapse
- VERSION =
"0.0.1"
Class Method Summary collapse
Class Method Details
.for(sym, opts = {}) ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/nativedriver.rb', line 7 def self.for(sym, opts = {}) bridge = case sym.to_sym when :android NativeDriver::Android::Bridge.new(opts) else raise ArgumentError, sym.to_s end Selenium::WebDriver::Driver.new(bridge) end |