File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ field values, etc.) before submitting it::
147
147
$crawler = $client->request('GET', 'https://github.com/login');
148
148
149
149
// find the form with the 'Log in' button and submit it
150
- // 'Log in' can be the text content, id, value or name of a <button> or <input type="submit">
150
+ // 'Log in' can be the text content, id or name of a <button> or <input type="submit">
151
151
$client->submitForm('Log in');
152
152
153
153
// the second optional argument lets you override the default form field values
Original file line number Diff line number Diff line change @@ -875,8 +875,8 @@ Use the ``submitForm()`` method to submit the form that contains the given butto
875
875
'comment_form[content]' => '...',
876
876
]);
877
877
878
- The first argument of ``submitForm() `` is the text content, ``id ``, `` value `` or
879
- `` name `` of any ``<button> `` or ``<input type="submit"> `` included in the form.
878
+ The first argument of ``submitForm() `` is the text content, ``id `` or `` name ``
879
+ of any ``<button> `` or ``<input type="submit"> `` included in the form.
880
880
The second optional argument is used to override the default form field values.
881
881
882
882
.. note ::
You can’t perform that action at this time.
0 commit comments