class RUTL::Interface::Notepad
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/rutl/interface/windows/notepad.rb, line 10 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
Public Instance Methods
current_view()
click to toggle source
# File lib/rutl/interface/windows/notepad.rb, line 19 def current_view # This only works because I only have one view. # Should I? What about dialogs? @views.first end