1 | <?php |
||
8 | class Browser extends \Laravel\Dusk\Browser |
||
9 | { |
||
10 | use Concerns\InteractsWithAuthentication, |
||
11 | Concerns\InteractsWithCookies, |
||
12 | Concerns\InteractsWithElements, |
||
13 | Concerns\InteractsWithJavascript, |
||
14 | Concerns\InteractsWithMouse, |
||
15 | Concerns\MakesAssertions, |
||
16 | Concerns\MakesUrlAssertions, |
||
17 | Concerns\WaitsForElements; |
||
18 | |||
19 | /** @var BrowserActionCollector */ |
||
20 | protected $actionCollector; |
||
21 | |||
22 | public function setActionCollector(BrowserActionCollector $collector) |
||
26 | |||
27 | /** |
||
28 | * @return BrowserActionCollector|null |
||
29 | */ |
||
30 | public function getActionCollector() |
||
34 | |||
35 | /** {@inheritdoc} */ |
||
36 | public function visit($url) |
||
44 | |||
45 | /** {@inheritdoc} */ |
||
46 | public function visitRoute($route, $parameters = []) |
||
54 | |||
55 | /** {@inheritdoc} */ |
||
56 | public function refresh() |
||
64 | |||
65 | /** {@inheritdoc} */ |
||
66 | public function with($selector, Closure $callback) |
||
76 | |||
77 | /** {@inheritDoc} */ |
||
78 | public function onComponent($component, $parentResolver) |
||
86 | |||
87 | public function getCurrentPageSource() |
||
95 | |||
96 | protected function restoreHtml() |
||
108 | } |
||
109 |