-
Notifications
You must be signed in to change notification settings - Fork 5.8k
A way to prevent window.callPhantom from existing #12860
Comments
If you aren't utilizing page.onInitialized = function() {
page.evaluate(function() {
delete window.callPhantom;
});
}; |
Does Can I do this if I'm using Phantom via Selenium? |
If there are If there are NOT Also, please note that this setup will not cover your bases [currently] for framed pages (
No idea, I have never used Phantom via Selenium before. Sorry! |
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! |
Could we have a setting to turn this feature off? I'd like Phantom to behave the same as other browsers, to the greatest extent possible.
There was a related mailing list discussion a few years ago but it doesn't seem like the subject was ever revisited.
Being able to customize the name of this variable instead of hard-coding it to
callPhantom
would also be a fine workaround (for my case, at least).The text was updated successfully, but these errors were encountered: