lib/jenkins/builder/app.rb in jenkins-builder-0.2.5 vs lib/jenkins/builder/app.rb in jenkins-builder-0.2.6
- old
+ new
@@ -163,10 +163,10 @@
end
puts Pastel.new.cyan.bold("\n%s%s %s %s%s\n" % [' '*30, '★ '*5, msg, '★ '*5, ' '*30])
end
def start_build_use_ferrum(job_name, branch)
- browser = Ferrum::Browser.new(headless: false)
+ browser = Ferrum::Browser.new
browser.goto("#{config.url}/login")
username_input = browser.at_css('input[name=j_username]')
password_input = browser.at_css('input[name=j_password]')
username_input.focus.type(config.username)
password_input.focus.type(config.password)