Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elementor does not running on protractor version 4.0.9 #45

Open
akbar-10p opened this issue Sep 26, 2016 · 5 comments
Open

Elementor does not running on protractor version 4.0.9 #45

akbar-10p opened this issue Sep 26, 2016 · 5 comments

Comments

@akbar-10p
Copy link

I am getting this error when I execute command elementor https://any angular URL

Creating protractor configuration file
Starting protractor
Running command: [node C:\Users\akber\AppData\Roaming\npm\node_modules\elementor
\node_modules\protractor\built\cli.js --elementExplorer true --debuggerServerPor
t 6969 C:\Users\akber\AppData\Local\Temp\protractor-conf116823-9388-1x0wdop]
[17:55:17] I/hosted - Using the selenium server at http://localhost:4444/wd/hub
[17:55:19] I/protractor -
[17:55:19] I/protractor - ------- Element Explorer -------
[17:55:19] I/protractor - Starting WebDriver debugger in a child process. Elemen
t Explorer is still beta, please report issues at github.com/angular/protractor
[17:55:19] I/protractor -
[17:55:19] I/protractor - Type to see a list of locator strategies.
[17:55:19] I/protractor - Use the list helper function to find elements by str
ategy:
[17:55:19] I/protractor - e.g., list(by.binding('')) gets all bindings.
[17:55:19] I/protractor -
Server listening on 127.0.0.1:6969
Done starting protractor
Starting elementor
Elementor is listening on http://localhost:13000
Getting page at: http://any angular URL
events.js:141
throw er; // Unhandled 'error' event
^

Error: write EPIPE
at exports._errnoException (util.js:907:11)
at Socket._writeGeneric (net.js:697:26)
at Socket._write (net.js:716:8)
at doWrite (_stream_writable.js:300:12)
at writeOrBuffer (_stream_writable.js:286:5)
at Socket.Writable.write (_stream_writable.js:214:11)
at Socket.write (net.js:642:40)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:153:18)

  • Node Version: 4.5.0
  • Protractor Version: 4.0.9
  • Browser(s): Chrome
  • Operating System and Version: Windows 7
@andresdominguez
Copy link
Owner

Hello. I just published a new version 2.1.0. It should work with the latest version of protractor (4.0.9)

@MikiPopovic
Copy link

MikiPopovic commented Nov 18, 2016

Just installed Elementor and also geting throw er; // Unhandled 'error' event
Browser starts and chrashes.
If I just start it with command: elementor it starts fine, but when I try to locate an element and get results in Protractor window, it crashes again.

Here's the log:

osboxes@osboxes:~$ elementor
Creating protractor configuration file
Starting protractor
Running command: [node /usr/lib/node_modules/elementor/node_modules/protractor/built/cli.js --elementExplorer true --debuggerServerPort 6969 /tmp/protractor-conf1161018-4224-1ak7zcy.f1k4eu3di]
[20:58:20] I/hosted - Using the selenium server at http://localhost:4444/wd/hub
[20:58:22] I/protractor -
[20:58:22] I/protractor - ------- Element Explorer -------
[20:58:22] I/protractor - Starting WebDriver debugger in a child process. Element Explorer is still beta, please report issues at github.com/angular/protractor
[20:58:22] I/protractor -
[20:58:22] I/protractor - Type to see a list of locator strategies.
[20:58:22] I/protractor - Use the list helper function to find elements by strategy:
[20:58:22] I/protractor - e.g., list(by.binding('')) gets all bindings.
[20:58:22] I/protractor -
Server listening on 127.0.0.1:6969
Done starting protractor
Starting elementor
Elementor is listening on http://localhost:13000
Elementor is ready!
Testing suggestions [ { name: 'byCss',
locator: 'by.css('button[type="submit"]')',
countExpression: 'element.all(by.css('button[type="submit"]')).count()' },
{ name: 'byCss',
locator: 'by.css('button[ng-click="$controller.submit()"]')',
countExpression: 'element.all(by.css('button[ng-click="$controller.submit()"]')).count()' },
{ name: 'byCss',
locator: 'by.css('button[ng-disabled="!$controller.selectedEntity"]')',
countExpression: 'element.all(by.css('button[ng-disabled="!$controller.selectedEntity"]')).count()' },
{ name: 'byCss',
locator: 'by.css('button.l-block.l-width-full.border-radius-2.btn.btn-lg.btn-success.text-20.ptb-20')',
countExpression: 'element.all(by.css('button.l-block.l-width-full.border-radius-2.btn.btn-lg.btn-success.text-20.ptb-20')).count()' },
{ name: 'byCss',
locator: 'by.css('.l-block.l-width-full.border-radius-2.btn.btn-lg.btn-success.text-20.ptb-20')',
countExpression: 'element.all(by.css('.l-block.l-width-full.border-radius-2.btn.btn-lg.btn-success.text-20.ptb-20')).count()' },
{ name: 'byButtonText',
locator: 'by.buttonText('Continue')',
countExpression: 'element.all(by.buttonText('Continue')).count()' } ]
Connected. Sending command: element.all(by.css('button[type="submit"]')).count()
events.js:160
throw er; // Unhandled 'error' event
^

@hasanlussa
Copy link

protractor 5 already release guys, is this issue still relevant

@gustavolira
Copy link

same problem here

@TamerHussien
Copy link

i was having the problem cause i didn't install java ..... after install it working perfectly

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

No branches or pull requests

6 participants