public function Client::click in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/browser-kit/Client.php \Symfony\Component\BrowserKit\Client::click()
Clicks on a given link.
Parameters
Return value
File
- vendor/
symfony/ browser-kit/ Client.php, line 222
Class
- Client
- Client simulates a browser.
Namespace
Symfony\Component\BrowserKitCode
public function click(Link $link) {
if ($link instanceof Form) {
return $this
->submit($link);
}
return $this
->request($link
->getMethod(), $link
->getUri());
}