lib/hola.rb in hola_tarar-0.0.2 vs lib/hola.rb in hola_tarar-0.0.4
- old
+ new
@@ -4,5 +4,17 @@
translator.hi
end
end
require 'hola/translator'
+require 'capybara'
+require 'capybara/dsl'
+
+
+
+def login_user username , password
+ visit "https://login.salesforce.com"
+ fill_in "username", with: username
+ fill_in "password", with: password
+ click_button "Login"
+end
+