This repository was archived by the owner on Jul 29, 2024. It is now read-only.
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
TypeError: Cannot call method 'get' of undefined #13
Closed
Description
Hi. I cloned the repo, followed all instructions but when I execute the example suite or the testapp suite, I always get the same error:
TypeError: Cannot call method 'get' of undefined
When I look at the code, it is always referring at ptor instance being undefined.
Context:
The test application is up and running on port 8000 and the angularjs site is accesible as well. Both suites should be able to fulfill its purpose.
Im running on osx, using chrome driver and the standalone selenium server.
I have not made any change on the code.
As an example of the error:
1) test application finding elements in forms should find an element by binding
Message:
TypeError: Cannot call method 'get' of undefined
Stacktrace:
TypeError: Cannot call method 'get' of undefined
at null.<anonymous> (/Users/sesteva/Development/Projects/protractor/spec/testAppSpec.js:26:12)
at jasmine.Block.execute (/usr/local/share/npm/lib/node_modules/protractor/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:1064:17)
at jasmine.Queue.next_ (/usr/local/share/npm/lib/node_modules/protractor/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:2096:31)
at jasmine.Queue.start (/usr/local/share/npm/lib/node_modules/protractor/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:2049:8)
at jasmine.Spec.execute (/usr/local/share/npm/lib/node_modules/protractor/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:2376:14)
at jasmine.Queue.next_ (/usr/local/share/npm/lib/node_modules/protractor/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:2096:31)
at jasmine.Queue.start (/usr/local/share/npm/lib/node_modules/protractor/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:2049:8)
at jasmine.Suite.execute (/usr/local/share/npm/lib/node_modules/protractor/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:2521:14)
at jasmine.Queue.next_ (/usr/local/share/npm/lib/node_modules/protractor/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:2096:31)
at jasmine.Queue.start (/usr/local/share/npm/lib/node_modules/protractor/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:2049:8)
Thanks
Metadata
Metadata
Assignees
Labels
No labels