Information about Software Engineering and coding by Cory Leigh Rahman
✨ Visit the Code With Cory Home Page ✨
User-Routine is a JavaScript library to automate user routines on web pages. You can easily test features or create tutorials with actions such as click, await, and fill.
Home Page: https://corylr.github.io/user-routine/
License: MIT License
Information about Software Engineering and coding by Cory Leigh Rahman
✨ Visit the Code With Cory Home Page ✨
Add an option to wait for a specific element to appear:
Action string example: 'wait .popup'
Full example:
spaCheck([
'click button',
'wait .popup',
'click .new-button',
]);
Should probably have a default max time to wait, perhaps add a 3rd string param override the default.
Currently spaces cannot be used in the action string CSS selectors in order to preserve the ease of a single-string action command. Recommend using >>
instead. Should be able to replace >>
with a space after the selector portion of the action string is already split off.
Note: >>
is not a great solution because >>
diverges from standard CSS, but I think it's worth it because it's relatively intuitive, will not conflict with existing CSS (because >>
is invalid normally), and will unblock cases where using the descendant css combinator (space) would be helpful.
Example: click table>>.row:nth-child(2)>>button Edit Row
// This would click an Edit button in the 2nd row of some table, regardless of how deeply nested. The resulting selector would be table .row:nth-child(2) button
.
Also update the README so this functionality is well-documented.
Add css class spa-check-attribution so that users can more easily hide the "SPA Check" attribution shown under the message, if desired.
e.g.: document.querySelector('.class').dispatchEvent(new InputEvent('input'));
Need to use this on the value
command.
Replace the testing page with a demo, include some sort of flag or url parameter which runs fast robust tests. Display simpler demo tests. Host via GH Pages.
Add animation to visually show what SPA Check is doing in the UI (completed in version 4.0.0)
Refactor to reduce the minified JS blob size and improve intellisense hints in VS Code
Hi there, I would like to use your project for an interactive tutorial on a business application I'm working on however for some reason it cannot resolve this package when I try to import userRoutine (as per the demo).
Not sure if this is something you've experienced yet as your demo appears to use the compiled scripts in /dist.
I'll probably just copy the built module out of /dist and use it inline in my project, but I'd much prefer to use this through npm.
Thanks!
So users can see what output to expect
Add animate option so the message can be shown without animating
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.