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.2.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: robocorp_inspector-0.10.2.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.8.17 Linux/5.15.0-1041-azure

File hashes

Hashes for robocorp_inspector-0.10.2.tar.gz
Algorithm Hash digest
SHA256 c17077160eed6f9cdd8029c763807159f6f968e2f1fedff767e388b4e56a32de
MD5 34d71f5dbe662effd186177f6c00b8cc
BLAKE2b-256 504e82e54624a4ab0b843f7863204dc6800984aabd33198bc66319191aac7069

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robocorp_inspector-0.10.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cff0a724520aa8833fddee71169fad2331fbcc27ffc14f6ad369a5288056c898
MD5 203b18820212803475434b4318c5020a
BLAKE2b-256 ecf235d5b17c56d1494785d9c7b448805ed769d656bfd10ffcd80f5904b55fde

See more details on using hashes here.

Supported by

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