Sha256: 07b4eac1c812e1f317f5513adff1b1449eed674a794dcc6c9fce51888cb34a04
Contents?: true
Size: 618 Bytes
Versions: 1
Compression:
Stored size: 618 Bytes
Contents
require 'selenium-webdriver' require 'rutl/interface/windows/windows_app' module RUTL module Interface # # Notepad. # class Notepad < WindowsApp def initialize @app_name = 'notepad.exe' driver_opts = base_opts driver_opts[:caps][:app] = 'C:\Windows\System32\notepad.exe' @driver = Appium::Driver.new(driver_opts, false) @driver.start super end def current_view # This only works because I only have one view. # Should I? What about dialogs? @views.first end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rutl-0.8.0 | lib/rutl/interface/windows/notepad.rb |