You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Has the effect of clicking a button on the current form by specifying its name, value, or index. Its arguments are a list of key/value pairs. Only one of name, number, input or value must be specified in the keys.
However, something like ->click_button(name => 'foo', value => 'bar' ) will be run without complaints and can lead to confusing results.
We should enforce the advertised limits on what this method accepts as valid input.
The text was updated successfully, but these errors were encountered:
I believe the docs could use a tweak as well so that all of the allowed args are mentioned in the "Has the effect" para. id is never mentioned although it is in the list that follows. name, value, or index doesn't mention a few of the possible keys and index might mean number now.
The docs state that
click_button()
:However, something like
->click_button(name => 'foo', value => 'bar' )
will be run without complaints and can lead to confusing results.We should enforce the advertised limits on what this method accepts as valid input.
The text was updated successfully, but these errors were encountered: