File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff 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*
Original file line number Diff line number Diff 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*
You can’t perform that action at this time.
0 commit comments