Git Product home page Git Product logo

uportal-auto-screenshot's Introduction

uPortal auto screenshot

Screenshots each portlet in your uPortal instance. Usefull for collecting an initial set of images for the marketplace portlet or a primitive form of screenshot testing.

Usage

Usage: uportal-auto-screenshot.js [options] [command]

  Commands:
    capture  Capture screenshots of portlets
    help     Display help
    version  Display version
  Options:
    -a, --auth [value]              Type of authentication: local|manual|cas (defaults to "local")
    -h, --help                      Output usage information
    -l, --loginUrl [value]          URL of cas (for cas authentication) (defaults to "http://localhost:8080/cas/login?service=http://localhost:8080/uPortal/Login")
    -O, --outDir [value]            Directory to save screenshots too (created if it does not exist) (defaults to "screenshots")
    -o, --overwrite                 Overwrites existing screenshots (disabled by default)
    -p, --password [value]          Password of local uPortal user (defaults to "admin")
    -P, --passwordSelector [value]  Selector for the password textbox (for cas authentication) (defaults to "#password")
    -s, --submitSelector [value]    Selector for the submit button (for cas authentication) (defaults to "input[type='submit']")
    -u, --url [value]               URL of uPortal instance (defaults to "http://localhost:8080")
    -U, --username [value]          Username of local uPortal user (defaults to "admin")
    -U, --usernameSelector [value]  Selector for the username textbox (for cas authentication) (defaults to "#username")
    -v, --version                   Output the version number

Authentication Types

Authentication Type Notes
manual Easiest way to authenticate, launches a browser window to login manually.
local Local uPortal accounts, just provide a username and password.
cas Log in via a central authentication system. You need a loginUrl (url users are sent to when they press login), username and password. In most cases you will also need to specify the selectors for the login form with usernameSelector, passwordSelector, submitSelector.

The default values for these flags allow you to try each authentication type without specifying all the other flags with a fresh instance of uPortal-start.

uportal-auto-screenshot's People

Contributors

christianmurphy avatar renovate-bot avatar zoeyfyi avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

christianmurphy

uportal-auto-screenshot's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

npm
package.json
  • args ^5.0.0
  • colors ^1.3.1
  • progress ^2.0.0
  • puppeteer ^5.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

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.