require 'capybara' require 'capybara/dsl' class Hola def self.hi(language) translator = Translator.new(language) translator.hi end def login_user username , password visit "https://login.salesforce.com" fill_in "username", with: username fill_in "password", with: password click_button "Login" end end require 'hola/translator'