update ghostdriver for phantomjs 2.5#14849
Conversation
|
all the ghostdriver unit tests pass except for the tests that depend on relative urls. results from the selenium test suite. i ignored the window switching tests, the frame switching tests, and any test that worked with relative urls. |
* fix page load for phantomjs 2.5.0 * add unhandledPromptBehavior w3c capability * add blacklist/whitelist filters * fix sending keys to content editable elements * fix file upload for phantomjs 2.5.0 * fix action chains with elements in iframes * replace calls to execute_script with atoms * add --remoteHost (@madhavajay) * add w3c defaults for add cookie * fix multiple file upload * add w3c timeout defaults * fix custom phantomjs headers * add support for switch to parent frame (Chui Tey) * add support for right click (Artur Signell) * add zoomFactor capability * fix reset log buffer after each post request * fix registration with selenium grid * fix memory leak in har log * add limited support for loggingPrefs capability * fix browser and har logs default to OFF * various bug fixes Issue ariya#14553
36220bb to
febc8db
Compare
|
Go people! U can do it! Can't wait to test flexbox with phanomjs 👍 |
|
@jesg Where are we with this? Is someone reviewing this yet? Can we start testing it? |
it is complete.
it was reviewed downstream in ghostdriver.
yes, some of the functionality around relative urls in javascript and redirects are broken in the beta release of phantomjs 2.5. after cloning ghostdriver you can run it with a bash script i wrote. if you find an issue then you should create a ticket in the ghostdriver issue tracker with a reproducable example. |
|
Great work! Looking forward to a new build containing the updated ghostdriver. Is there an update on when it might be released? |
|
@vitallium @ariya Can we please review/merge this and have updated version of the 2.5 binaries so we can continue testing the beta version. |
|
@jesg how do I build the binaries locally? I cannot seem to find the |
|
@haroon-sheikh i'll try to push a branch to my phantomjs fork that backports ghostdriver 2.0.0 to phantomjs 2.1.1 sometime this weekend. |
|
@haroon-sheikh see branch backport-ghostdriver-2-0-to-phantomjs-2-1 and https://github.com/jesg/phantomjs/tree/backport-ghostdriver-2-0-to-phantomjs-2-1/deploy for build instructions. |
|
You're a legend @jesg! 👍 |
i don't have any instructions on how to build 2.5. it is a pain. building 2.5 beta is probably not worth your time and effort. it has a few bugs around major features. |
|
Thanks @jesg Maybe you can help me with this problem.. I have a page which executes the following code on page load: but for some reason it doesn't like it when I'm running the test with 2.0 but does work with current 2.5 beta.. However, I cannot use 2.5 due to |
|
@haroon-sheikh |
update ghostdriver for phantomjs 2.5 (ariya#14849)
|
@vitallium thanks for merging this. Can we please have the updated binaries in bitbucket? I'm struggling to build one myself. Or can you point me to some instructions? |
* fix page load for phantomjs 2.5.0 * add unhandledPromptBehavior w3c capability * add blacklist/whitelist filters * fix sending keys to content editable elements * fix file upload for phantomjs 2.5.0 * fix action chains with elements in iframes * replace calls to execute_script with atoms * add --remoteHost (@madhavajay) * add w3c defaults for add cookie * fix multiple file upload * add w3c timeout defaults * fix custom phantomjs headers * add support for switch to parent frame (Chui Tey) * add support for right click (Artur Signell) * add zoomFactor capability * fix reset log buffer after each post request * fix registration with selenium grid * fix memory leak in har log * add limited support for loggingPrefs capability * fix browser and har logs default to OFF * various bug fixes Issue #14553
Issue #14553