Skip to main content

Robocorp Inspector

Project description

Robocorp Inspector

Robocorp Inspector is a tool for exploring various user interfaces and developing ways to target elements within them. An expression that can target specific UI elemements is called a locator, and these locators can be used to automate applications typically used by humans.

Dependencies

You might need to create a .npmrc file at project level with contents similar to the following, but with your own authToken. This is needed for private repositories.

registry=https://registry.npmjs.org/
@robocorp:registry=https://npm.pkg.github.com/
//npm.pkg.github.com/:_authToken=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

There is a hard dependency to the Inspector Commons implementation. Most of the implementation resides in inspector-commons and if you spot any misalignment then you should correct it

Development

The project uses invoke for overall project management, poetry for python dependencies and environments, and yarn for Javascript dependencies and building.

Both invoke and poetry should be installed via pip: pip install poetry invoke

  • To see all possible tasks: invoke --list
  • To run the project: invoke run
  • For a quick build and run you can try running: inv build-js && inv build && inv run
  • To clean the dev environment you can use inv clean or inv clean --force

All source code is hosted on GitHub.

Python & NPM

To launch the development environment you'll need:

pyenv + virtualenv -> these will help building a dedicated python virtual environment
nvm -> will help with a contained version of node + npm

In order for everything to install and build properly use the following versions:

python -> v3.8.10
node -> v16.14.2
npm -> 8.5.0

Usage

Robocorp Inspector is distributed as a Python package with all front-end components compiled and included statically.

If the package (and all required dependencies) is installed manually, it can be run with the command: inspector.

Code Organization

Attention: these might change over time & hopefully they will be maintained.

Inspector Class Diagram

  • not extremely precise
  • created to show how things link together from local implementation to inspector-commons

Inspector Class Diagram


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robocorp_inspector-0.10.3.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robocorp_inspector-0.10.3-py3-none-any.whl (1.7 MB view details)

Uploaded Python 3

File details

Details for the file robocorp_inspector-0.10.3.tar.gz.

File metadata

  • Download URL: robocorp_inspector-0.10.3.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.8.18 Linux/6.11.0-1018-azure

File hashes

Hashes for robocorp_inspector-0.10.3.tar.gz
Algorithm Hash digest
SHA256 3559e3b59ab9ca150298a5adc58cee2c61fd6b61a527296916966094e2223289
MD5 42544cf674b4ccd21e22595f73413ab6
BLAKE2b-256 76e5e47b270eccef9ce8b0d58632397f2c2dd214f14d4f75603a61fca94c45d8

See more details on using hashes here.

File details

Details for the file robocorp_inspector-0.10.3-py3-none-any.whl.

File metadata

  • Download URL: robocorp_inspector-0.10.3-py3-none-any.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.8.18 Linux/6.11.0-1018-azure

File hashes

Hashes for robocorp_inspector-0.10.3-py3-none-any.whl
Algorithm Hash digest
SHA256 df1f69b4bbc16ba3c5f3c06b21522727e8a15811bf27e4e623aaa44941cc0e61
MD5 30b1f31dc1b562218d28ea3f3efecf3b
BLAKE2b-256 9ef9a14c9ae39fbc593267747aa7a738be40eef6bbcd1e3f6abc815bbe963974

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page