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
I have seen that phantomjs support is deprecated, but I need to use it because it seems to closely mirror the behaviour of the googlebot.
(For instance const declarations in certain situations seem to break both googlebot and phantomjs - I will write something up on this once I can demonstrate a clear case)
I am happy to put in a PR for this one if you would accept it.
Basically, on one of the pages I am testing I get
Message: FocusEventConstructor is not a constructor (evaluating 'new
p["default"].WindowFocusEvent(t,{bubbles:o,cancelable:!1,cancelBubble:!1,defaultPrevented:!1})')
Seems to come down to the feature detection on this line:
The text was updated successfully, but these errors were encountered:
We have researched the possibility to support PhantomJS.
There are several issues we need to take into account:
[Object.defineProperty] ariya/phantomjs#14310 ariya/phantomjs#13895
[Psedo-selector :focus] ariya/phantomjs#10427
[WebWorker] ariya/phantomjs#13653
These problems affect many parts of our code and it takes huge work to fix them.
Are you sure you want to do it?
That sounds like a world of pain. Thanks for the heads up.
While I do need to do some testing on an old version of webkit to ensure compatibility with googlebot, the tests are fairly simple and could be managed by driving phantomjs directly.
This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow.
I have seen that phantomjs support is deprecated, but I need to use it because it seems to closely mirror the behaviour of the googlebot.
(For instance const declarations in certain situations seem to break both googlebot and phantomjs - I will write something up on this once I can demonstrate a clear case)
I am happy to put in a PR for this one if you would accept it.
Basically, on one of the pages I am testing I get
Seems to come down to the feature detection on this line:
The text was updated successfully, but these errors were encountered: