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

elementExplorer cuts of the first letter of my statement #1970

Closed
pavlinap opened this issue Mar 25, 2015 · 10 comments
Closed

elementExplorer cuts of the first letter of my statement #1970

pavlinap opened this issue Mar 25, 2015 · 10 comments
Assignees

Comments

@pavlinap
Copy link

When I start elementExplorer regardless of the input I get an error telling me that there is a reference error

> element(by.id(''));
ReferenceError: evalmachine.<anonymous>:1
lement(by.id(''))
lement is not defined

issue

@juliemr
Copy link
Member

juliemr commented Mar 25, 2015

Dupe of #1898 - @hankduan can we fix the text parsing issue separately from the timing issue?

@hankduan
Copy link
Contributor

Yes, feel free to review the PR. It will fix the node 0.12.0 compatibility issue. (preferable if you can review #1954 before #1898 though so tests are in place)

@juliemr juliemr self-assigned this Mar 25, 2015
@bootstraponline
Copy link

👍 elementExplorer is broken on node v0.12.2.

@sunitavc
Copy link

Will this work if I downgrade node? I'm facing the same issue and I have node 0.12.0
In my case (I'm running Windows 7.1) it even chops the last char:

element(by.id('a'))
SyntaxError: evalmachine.:1
lement(by.id('a')

@bootstraponline
Copy link

It works for me on node v0.10.30.

@sibelius
Copy link

+1

@hankduan
Copy link
Contributor

@juliemr can you review that PR when you get a chance next week?

@ralberts
Copy link

ralberts commented May 5, 2015

+1 Is the workaround to downgrade node versions?

@bootstraponline
Copy link

Is the workaround to downgrade node versions?

Yes, to 0.10.30.

@juliemr
Copy link
Member

juliemr commented May 20, 2015

This is fixed now in 2.1.

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

No branches or pull requests

7 participants