Skip to content
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

Example of using Photino for automation #41

Closed
artemiusgreat opened this issue Feb 6, 2023 · 1 comment
Closed

Example of using Photino for automation #41

artemiusgreat opened this issue Feb 6, 2023 · 1 comment

Comments

@artemiusgreat
Copy link

artemiusgreat commented Feb 6, 2023

Hi, is it possible to add an example of using Photino to populate HTML form, submit with redirect to another page, and get parameter from the URL?
Basically, some common tasks that previously could be done with Selenium and Web Driver?
To be clear, the question is about how to execute JS code for an external website, not local wwwroot.

Update

Tried to add JS code dynamically in page load event in Photino.NET, but got an exception, so probably it's a window creation event, not page load event. In this case, the question is, how do I know when it's safe to execute JS code?

image

Also, tried to execute method with delay, nothing happened, JS code didn't execute.

image

@artemiusgreat
Copy link
Author

After searching for some time, I found that this feature is not implemented yet and not clear whether it will be.
tryphotino/photino.NET#58 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant