GithubHelp home page GithubHelp logo

automation-inspector's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

automation-inspector's Issues

[need investigate] extension break on canary with ReferenceError

Getting ReferenceError: ids is not defined after downloading the extension and click the extension icon when viewing a webpage.

image

The error trace is not very helpful...
Guessing an investigation need to be made.

image

Chrome Version: 77.0.3847.0 (Official Build) canary (64-bit)
System Version: macOS 10.14.5 (18F132)

Hit testing

Ability to pick an item with the mouse.

There's a hitTest function in automationNode that can be used.

Ability to hide more events

There can be a lot of noisy mutations in the page.

It might be nice to limit event groups to those only from keyboard usage.

Property changes not always highlighted

Currently we highlight what properties were changed in a nodeChanged notification.

However, we are only able to do this if the node was previously displayed in the DOM tree -- otherwise we don't know what the original properties were.

It might be nice if the nodeChanged notification passed this info to us.

Show a slug for each node that has one

A slug is something like p#para1

This is useful for understanding where the current node is in the tree. It's probably a good idea to expose this somewhere in the UI. Maybe it could be a property.

Ability to limit views to a specific window

In app mode for Chrome OS, viewing the entire desktop tree along with all events provides an overwhelming ream of data.

We should prompt the user for a window that they wish to inspect.

Remote access

Allow one Automation Inspector on one computer to inspect Chrome on a different computer.

This would have a big benefit in that focus would remain in the inspected app, instead of moving back and forth between the app and inspector, which can have big side effects.

Highlight the currently selected node in the web content

Draw a rectangle around the current item.

We will need to create a chrome highlight api that will set an attribute such as
automation-api-highlight=true

Then we can inject css with a rule like *[automation-api-highlight=true] { outline: 3px solid #f00 !important; }

Use and display automation node ids

AutomationNode instances already have an internal id. These would be useful to have instead of generating our own id. It could also be useful for debugging Chrome.

Let's just expose and consume these.

Does not walk into iframes

Steps:

  1. Open a document with an iframe
  2. Inspect

Notice that the contents of the iframe are not shown in the inspector tree view.

Local dev mode /third_party/*.js NOT FOUND

Hi @aleventhal
Very new to this extension, please forgive me if I missed something obvious.

Followed the "Running from the local file system" section from
https://github.com/google/automation-inspector/blob/master/README.md

Using developer mode from the Chrome extensions page at chrome://extensions, use the load unpacked extension feature, pointing it at the build/extension folder.

Unfortuently getting 404 for /third_party/*.js
(e.g., chrome-extension://enlmgkkaebjkhjbeajabgddgmggdeadf/third_party/jquery.fancytree.table.js)
image

A quick guess is something wrong with the Gruntfile.js, not sure right now though.
Happy to dig into it sometime late this week(maybe it's just a mistake I made ๐Ÿ˜…).

And ideas? Thanks!

Using $(selector) syntax only finds one node

This is because automationNode.querySelectorAll() doesn't exist. Only querySelector() is available.

I started a patch to work on this for Chrome, but it was hard because WebNode also didn't have querySelectorAll(), nor was there a concept of a static node list in the public web APIs.

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.