Sha256: ae0095e87e71293a6234d221a07712c1a8ee6bde388372a59a02bbbd8ac83db9
Contents?: true
Size: 481 Bytes
Versions: 5
Compression:
Stored size: 481 Bytes
Contents
module OpsManagerUiDrivers module Version11 class Login def initialize(browser:) @browser = browser end def login(user:, password:) open_login_page browser.fill_in 'login[user_name]', with: user browser.fill_in 'login[password]', with: password browser.click_on 'login-action' end private attr_reader :browser def open_login_page browser.visit '/login' end end end end
Version data entries
5 entries across 5 versions & 1 rubygems