ariya / phantomjs

Scriptable Headless Browser
http://phantomjs.org
BSD 3-Clause "New" or "Revised" License
29.47k stars 5.76k forks source link

Phantomjs in Ghostdriver mode is not cleaning up the Server session #12942

Closed byteshiva closed 4 years ago

byteshiva commented 9 years ago

Phantomjs in Ghostdriver mode is not cleaning up the Server session

ex.
$phantomjs --webdriver=4444

#node index.js
client = url("www.google.com").setValue("#user","username").setValue("#pass","password").submit("#formID").end();

end() method basically calls selenium wire protocals .session("delete");

error:
[INFO  - 2015-02-03T06:09:43.416Z] Session [3d5db800-ab6b-11e4-ab0e-a93d67b4f6a1
] - page.settings - {"XSSAuditingEnabled":false,"javascriptCanCloseWindows":true
,"javascriptCanOpenWindows":true,"javascriptEnabled":true,"loadImages":true,"loc
alToRemoteUrlAccessEnabled":false,"userAgent":"Mozilla/5.0 (Windows NT 6.1; WOW6
4) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.9.8 Safari/534.34","webSec
urityEnabled":true}
[INFO  - 2015-02-03T06:09:43.416Z] Session [3d5db800-ab6b-11e4-ab0e-a93d67b4f6a1
] - page.customHeaders:  - {}
[ERROR - 2015-02-03T06:09:48.755Z] WebElementLocator - _handleLocateCommand - El
ement(s) NOT Found: GAVE UP. Search Stop Time: 1422943788708
stale[bot] commented 4 years ago

Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!