-
Notifications
You must be signed in to change notification settings - Fork 2.3k
elementexplorer.js crashes for any input #1822
Comments
Possibly a windows issue? Can anyone else confirm? |
yes i have also faced the same issue on my windows box after updating to 1.7 |
Yes I'm getting the same issue as well. Reverted back to Ptor 1.6.1 works |
I have a theory on why this is failing, but I have no windows machine to test this one (it's a little hard to debug when I can't try anything =P ) Anyway, here's my theory: Can anyone try to replace |
That works after changing |
Thanks @sipanda84 I've submitted a PR here #1850 to address this. Waiting for someone to confirm the latency issue (@sipanda84, the latency isn't there when you use 1.6.1 right?) |
I just switched back to 1.6.1 and confirmed no latency. |
It shouldn't, but fyi: |
I noticed severe latency issues when updating, plus hangs a lot. 1.6.1 was great. Same for directConnect mode. Plus I get lots of these type errors "TypeError: Converting circular structure to JSON", with statements that previously worked. |
Alright, there are two issues at hand here. One is "Converting circular structure to JSON". That's when there are circular references in the response. It's an easy fix and I will address that soon. The second (and more problematic imo) is the latency. I just spent the whole day trying to figure out what is wrong with that, and have just figured it out. See nodejs/node-v0.x-archive#9319. So, let's wait and see what joyent says about that issue. Meanwhile, sorry about the issues. You can downgrade to 1.6.1 for now, or I believe if you just copy the element explorer shell from 1.6.1 to 1.7.0, it should work as well. by the way: @thinkjones can you let me know what environment you are running this under? So far I think the latency issue is Windows and Ubuntu (as my Mac which I develop with suffers no such issue, and that why I haven't noticed this until now). |
@hankduan Thanks for the awesomely quick response! Mac here too. Will downgrade and wait. |
Ok this issue is too overloaded. I'm going to break it up. Issue 1) Cannot start element explorer on windows Issue 2) "Converting circular structure to JSON" Issue 3) latency issue Please comment in the corresponding issue/PR. Thanks! |
I believe this has all been addressed now. I'm going to close - if we're still seeing issues after the next release, let's open a fresh issue. |
I'm still having this particular issue. When a command returns json it decides to crash. protractor version 2.4.0 |
I just updated to 1.7 and noticed anytime I attempt to input anything into the element explorer, the session closes:
I'm running this on:
Win 8.1 X64
Node: v0.10.33
NPM: 1.4.28
This seems to happen regardless on how I run the element explorer, either by calling the flag "protractor --elementExplorer" or by going to the npm folder and launching it via node.
Has anyone else seen this after the 1.7 update?
I'm going to roll back to 1.6.1, I know it is working normally there.
Thanks!
The text was updated successfully, but these errors were encountered: