Sha256: 3260a73cd00f26c496ecab86d096a5fd6175ec06d13fd6b7f00da5a266ed7308
Contents?: true
Size: 481 Bytes
Versions: 5
Compression:
Stored size: 481 Bytes
Contents
module OpsManagerUiDrivers module Version12 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