Sha256: 57ae8708f969319ca256ca8d9b453cb19247c11cac4773809275f48cf328ff23
Contents?: true
Size: 782 Bytes
Versions: 76
Compression:
Stored size: 782 Bytes
Contents
def log_in_to_paypal_sandbox(email, password) visit 'https://developer.paypal.com' if page.has_button? 'Log In' fill_in 'Email', :with => email fill_in 'Password', :with => password click_link_or_button 'Log In' end end def log_out_of_paypal visit 'https://www.paypal.com/us/cgi-bin/webscr?cmd=_logout' end def log_out_of_paypal_sandbox visit 'https://developer.paypal.com' if page.has_link? 'Log Out' click_link 'Log Out' end end def fill_in_paypal_login_form(email, password) fill_in 'Email', :with => email fill_in 'PayPal password', :with => password click_link_or_button 'Log In' check 'esignOpt' click_link_or_button 'Agree and Continue' end
Version data entries
76 entries across 76 versions & 1 rubygems