Module Selenium::DSL
In: lib/selenium/dsl.rb

Methods

login  

Public Instance methods

[Source]

   # File lib/selenium/dsl.rb, line 3
3:   def login(user, password)  
4:     assert_title('Kotoba « Accounts « Login')
5:     assert_text('login_legend',I18n.t('login.title'))
6:     type('email', user.email)
7:     type('password', password)
8:     click('login')
9:   end

[Validate]