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 18c7382 + b01d242 commit 89b4cadCopy full SHA for 89b4cad
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