Closed ydakuka closed 11 months ago
Reference: https://github.com/teamcapybara/capybara/blob/master/lib/capybara/node/actions.rb
There is no information which style is preferred.
1.
click_link 'New Project' click_button 'Save'
2.
click_on 'New Project' click_on 'Save'
Consider also that click_on is an alias for click_link_or_button.
click_on
click_link_or_button
Reference: https://github.com/teamcapybara/capybara/blob/master/lib/capybara/node/actions.rb
There is no information which style is preferred.
1.
2.