Skip to content

Commit 4fa2990

Browse files
committed
auto updated documentation
1 parent f529f18 commit 4fa2990

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

docs/modules/AngularJS.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,25 @@ Returns URL of a host.
122122
@throws ModuleConfigException
123123

124124

125+
#### _restart
126+
127+
*hidden API method, expected to be used from Helper classes*
128+
129+
Restarts a web browser.
130+
Can be used with `_reconfigure` to open browser with different configuration
131+
132+
{% highlight php %}
133+
134+
<?php
135+
// inside a Helper
136+
$this->getModule('WebDriver')->_restart(); // just restart
137+
$this->getModule('WebDriver')->_restart(['browser' => $browser]); // reconfigure + restart
138+
139+
{% endhighlight %}
140+
141+
* `param array` $config
142+
143+
125144
#### _savePageSource
126145

127146
*hidden API method, expected to be used from Helper classes*

docs/modules/WebDriver.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,25 @@ Returns URL of a host.
300300
@throws ModuleConfigException
301301

302302

303+
#### _restart
304+
305+
*hidden API method, expected to be used from Helper classes*
306+
307+
Restarts a web browser.
308+
Can be used with `_reconfigure` to open browser with different configuration
309+
310+
{% highlight php %}
311+
312+
<?php
313+
// inside a Helper
314+
$this->getModule('WebDriver')->_restart(); // just restart
315+
$this->getModule('WebDriver')->_restart(['browser' => $browser]); // reconfigure + restart
316+
317+
{% endhighlight %}
318+
319+
* `param array` $config
320+
321+
303322
#### _savePageSource
304323

305324
*hidden API method, expected to be used from Helper classes*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy