Closed bartonhammond closed 6 years ago
Once I did npm link
, I can run from command line but not successfully.
So I did a "view source" on browser and saved as myfile.html
.
Then did following:
ojects/wisnet/gitProjects/selenium-page-object-generator (master)$ selenium-page-object-generator -t java -n barton -s myfile.html
(node:50049) DeprecationWarning: 'GLOBAL' is deprecated, use 'global'
/Users/barton/projects/wisnet/gitProjects/selenium-page-object-generator/bin/generate.js:97
throw ex;
^
TypeError: Cannot read property 'setDefaultValues' of undefined
at Object.done (/Users/barton/projects/wisnet/gitProjects/selenium-page-object-generator/bin/generate.js:85:35)
at process.nextTick (/Users/barton/projects/wisnet/gitProjects/selenium-page-object-generator/node_modules/jsdom/lib/jsdom.js:271:18)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)
Ok - the command is gulp chrome
Then
chrome://extensions/
load unpacked extension
build\chrome
to reinstall extension
Per Readme, I entered
gulp
- I don't see anybuild
ordist