File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -2388,7 +2388,6 @@ given setting applied.
23882388The ` withHeader(string $header, string $value): Browser ` method can be used to
23892389add a request header for all following requests.
23902390``` php
2391- $browser->get($url)->then(function (Psr\Http\Message\ResponseInterface $response) {
23922391 var_dump($response);
23932392}, function (Exception $e) {
23942393 echo 'Error: ' . $e->getMessage() . PHP_EOL;
@@ -2406,7 +2405,6 @@ remove any default request headers previously set via
24062405the [ ` withHeader() ` method] ( #withheader ) .
24072406
24082407``` php
2409- $browser->get($url)->then(function (Psr\Http\Message\ResponseInterface $response) {
24102408 var_dump($response);
24112409}, function (Exception $e) {
24122410 echo 'Error: ' . $e->getMessage() . PHP_EOL;
You can’t perform that action at this time.
0 commit comments