Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

ElementExplorer does not work after upgrading to 2.0.0 #1948

Closed
igorshubovych opened this issue Mar 19, 2015 · 8 comments
Closed

ElementExplorer does not work after upgrading to 2.0.0 #1948

igorshubovych opened this issue Mar 19, 2015 · 8 comments

Comments

@igorshubovych
Copy link

After upgrading to protractor 2.0.0, elementExplorer stopped working

> browser.get('https://angularjs.org')
SyntaxError: evalmachine.<anonymous>:1
rowser.get('https://angularjs.org'

Screenshot
Alt text

@igorshubovych
Copy link
Author

BTW,

elementExplorer in protractor 1.8.0 just hangs forever (ok, i cancelled it after waiting for 5 minutes).

/node_modules/protractor/bin/protractor --elementExplorer
Starting selenium standalone server...
Selenium standalone server started at http://192.168.217.135:56563/wd/hub
Starting debugger agent.
Debugger listening on port 5858

@hankduan
Copy link
Contributor

duplicate of #1890. Can you try with node 0.10.30? Please post correspondence in the linked issue.

@juliemr
Copy link
Member

juliemr commented Mar 19, 2015

I'm not sure the first issue is a duple of #1890, but I can't reproduce it. It looks like a problem with how we're trimming the input strings.

@igorshubovych what OS are you running on?

@hankduan
Copy link
Contributor

The first issue is related as well. The problem is fixed here: #1898. Node changed the input for the repl server.

@igorshubovych did you update node when you upgraded protractor?

@igorshubovych
Copy link
Author

Yes, it is duplicate of #1890. I see it is working with 0.10.

@Yukonjess101
Copy link

I'm seeing the same behavior currently in 2.0. I'm running:

Win 8.1 x64
node 0.12.0
npm 2.7.1

I do recall it working normally when Node 0.10.33 was installed. I did upgrade my node version when I upgraded Protractor. Is the best approach at the moment to downgrade node to 10?

Thanks!

@hankduan
Copy link
Contributor

Yes node 0.10.30 or lower

@shattenjager
Copy link

I tried to downgrade to 0.10.29 but still is not working. I get SyntaxError: evalmachine.:1 on my Win machine. I also tried to install an older version of Protractor but I don't know how, since I use npm. My current version is 2.1.0. Also I get this error not using elementExplorer but the debug mode triggered by a browser.pause() method in my code, then I used "repl" to switch to the interactive mode; from there I can do only a browser.get() but can't manage to interact with any element.
image

Win 8.1 64
node 0.12.4
npm 2.10.1
protractor 2.1.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants