You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 2. Run PhantomJS in WebDriver mode: `phantomjs --webdriver=4444`
134
-
* 3. Configure this module (in `acceptance.suite.yml`) by setting url and `phantomjs` as browser:
135
-
*
136
-
* ```yaml
137
-
* modules:
138
-
* enabled:
139
-
* - WebDriver:
140
-
* url: 'http://localhost/'
141
-
* browser: phantomjs
142
-
* ```
143
-
*
144
-
* Since PhantomJS doesn't give you any visual feedback, it's probably a good idea to install [Codeception\Extension\Recorder](http://codeception.com/extensions#CodeceptionExtensionRecorder) which gives you screenshots of how PhantomJS "sees" your pages.
145
-
*
146
126
* ### Headless Selenium in Docker
147
127
*
148
128
* Docker can ship Selenium Server with all its dependencies and browsers inside a single container.
@@ -3306,7 +3286,6 @@ public function scrollTo($selector, $offsetX = null, $offsetY = null)
3306
3286
* The tab is opened with JavaScript's `window.open()`, which means:
3307
3287
* * Some adblockers might restrict it.
3308
3288
* * The sessionStorage is copied to the new tab (contrary to a tab that was manually opened by the user)
3309
-
* * It is not possible in PhantomJS.
3310
3289
*/
3311
3290
publicfunctionopenNewTab()
3312
3291
{
@@ -3321,8 +3300,6 @@ public function openNewTab()
3321
3300
* <?php
3322
3301
* $I->closeTab();
3323
3302
* ```
3324
-
*
3325
-
* Can't be used with PhantomJS
3326
3303
*/
3327
3304
publicfunctioncloseTab()
3328
3305
{
@@ -3342,9 +3319,6 @@ public function closeTab()
3342
3319
* // switch to 2nd next tab
3343
3320
* $I->switchToNextTab(2);
3344
3321
* ```
3345
-
*
3346
-
* Can't be used with PhantomJS
3347
-
*
3348
3322
* @param int $offset 1
3349
3323
*/
3350
3324
publicfunctionswitchToNextTab($offset = 1)
@@ -3364,9 +3338,6 @@ public function switchToNextTab($offset = 1)
0 commit comments