Giter VIP home page Giter VIP logo

Comments (2)

bartonhammond avatar bartonhammond commented on September 25, 2024

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)

from selenium-page-object-generator.

bartonhammond avatar bartonhammond commented on September 25, 2024

Ok - the command is gulp chrome
Then

  • remove the Extension from Chrome
  • then load with chrome://extensions/
    • using load unpacked extension
    • navigate to the build\chrome to reinstall extension

from selenium-page-object-generator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.