-
Notifications
You must be signed in to change notification settings - Fork 90
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
Path must be a String. Received undefined #199
Comments
I'm not a big expert with protractor. Have you the same problem when you run protractor without eclipse? |
@angelozerr No, it worked with the command prompt. |
@hemantkrbajaj I have no time to study the problem today. |
Hello there, This would seem to be an issue for me too. I believe it to be eclipse related. I get the exact same error @hemantkrbajaj mentions above path.js:8 TypeError: Path must be a string. Received undefined I cloned the exact same project to webstorm and I'm able to run the project every time. Let me know if you need any more help on reproducing this? I'm also able to run the project outside of eclipse too from the command line. |
Even i am also facing exactly the same issue. Fingers crossed... |
I am facing the same issue too....with nodeclipse debugger and enide IDE |
Hi team i am facing the below issue while running the protractor test with eclipse:
path.js:8
throw new TypeError('Path must be a string. Received ' +
^
TypeError: Path must be a string. Received undefined
at assertPath (path.js:8:11)
at Object.win32.join (path.js:221:5)
at C:\Users\Hemant Bajaj\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\safari.js:84:29
at Object. (C:\Users\Hemant Bajaj\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\safari.js:98:3)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
Test.js :
describe('angularjs homepage todo list', function(){
it('should add a todo', function() {
browser.get('http://www.angularjs.org');
element(by.model('todotext')).sendKeys('write a protractor test');
});
});
config.js :
exports.config = {
directConnect: true,
//seleniumAddress: 'http://localhost:4444/wd/hub',
browserName: 'chrome',
specs: ['Test.js']
};
both files present at same location.
Environment:
Windows 10
Eclipse Kepler
AngularJS 1.2.0 -Snapshot plugin
NodeJsEclipse Plugin.
Please help.
Thanks!!
Hemant
The text was updated successfully, but these errors were encountered: