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
Copy file name to clipboardExpand all lines: src/Codeception/Module/WebDriver.php
-30Lines changed: 0 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -98,27 +98,6 @@
98
98
*
99
99
* Additional [Chrome options](https://sites.google.com/a/chromium.org/chromedriver/capabilities) can be set in `goog:chromeOptions` capabilities. Note that Selenium 3.8 renamed this capability from `chromeOptions` to `goog:chromeOptions`.
100
100
*
101
-
*
102
-
* ### PhantomJS
103
-
*
104
-
* PhantomJS is a [headless browser](https://en.wikipedia.org/wiki/Headless_browser) alternative to Selenium Server that implements
* 2. Run PhantomJS in WebDriver mode: `phantomjs --webdriver=4444`
110
-
* 3. Configure this module (in `acceptance.suite.yml`) by setting url and `phantomjs` as browser:
111
-
*
112
-
* ```yaml
113
-
* modules:
114
-
* enabled:
115
-
* - WebDriver:
116
-
* url: 'http://localhost/'
117
-
* browser: phantomjs
118
-
* ```
119
-
*
120
-
* 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.
121
-
*
122
101
* ### Headless Selenium in Docker
123
102
*
124
103
* Docker can ship Selenium Server with all its dependencies and browsers inside a single container.
@@ -3261,7 +3240,6 @@ public function scrollTo($selector, $offsetX = null, $offsetY = null)
3261
3240
* The tab is opened with JavaScript's `window.open()`, which means:
3262
3241
* * Some adblockers might restrict it.
3263
3242
* * The sessionStorage is copied to the new tab (contrary to a tab that was manually opened by the user)
3264
-
* * It is not possible in PhantomJS.
3265
3243
*/
3266
3244
publicfunctionopenNewTab()
3267
3245
{
@@ -3276,8 +3254,6 @@ public function openNewTab()
3276
3254
* <?php
3277
3255
* $I->closeTab();
3278
3256
* ```
3279
-
*
3280
-
* Can't be used with PhantomJS
3281
3257
*/
3282
3258
publicfunctioncloseTab()
3283
3259
{
@@ -3297,9 +3273,6 @@ public function closeTab()
3297
3273
* // switch to 2nd next tab
3298
3274
* $I->switchToNextTab(2);
3299
3275
* ```
3300
-
*
3301
-
* Can't be used with PhantomJS
3302
-
*
3303
3276
* @param int $offset 1
3304
3277
*/
3305
3278
publicfunctionswitchToNextTab($offset = 1)
@@ -3319,9 +3292,6 @@ public function switchToNextTab($offset = 1)
0 commit comments