-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin support? #9
Comments
I like this idea! But, can you describe the detail of "wait for event"? |
I did this proof of concept to show how waiting for page events work. You can follow the readme instructions to run it. Here's a rundown of how it happens:
You can see with my code that there is some complexity because to first run the |
Hmm...I don't understand what's the relationship between plugin support of Rize and your concepts. |
I could add this functionality with plugin support, but maybe it would make rize more versatile if it was built in. |
What feature do you want to build in specifically? |
I could implement |
Does the |
It expects a certain |
You may consider the |
Hello,
I was wondering if there is any plugin support to add custom methods to rize.
My motive for this is that I was writing a module to add waiting for logs functionality
For example, you could do something like:
This way, you could wait for a specific
console.log
to happen, or any other event for that matter, for example,dialog
.So I was wondering if I could add these custom "wait for event" methods myself, so the resulting code would be like
Or even making this native to rize; because of how the way rize works, it can listen on events before a
goto
happens, and all of that can be handled internally.I think this feature of waiting for events would make rize an ever stronger alternative to cypress.
The text was updated successfully, but these errors were encountered: