We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5d7fa56 + b749bf0 commit b01d242Copy full SHA for b01d242
components/browser_kit.rst
@@ -109,6 +109,9 @@ method (which makes the needed HTTP POST request to submit the form contents)::
109
$form['login'] = 'symfonyfan';
110
$form['password'] = 'anypass';
111
112
+ // To upload a file, the value should be the absolute file path
113
+ $form['file'] = __FILE__;
114
+
115
// submit that form
116
$crawler = $client->submit($form);
117
0 commit comments