Thanks in advance for your comment on following problem I am trying to resolve.
I need inline scripts/programs to drive a browser (any type) page, e.g. clicking on buttons and links, scrolling etc. It has to be inline as part of another web page on the same browser; so I can not use webdriver which is a separate executable and process. the solution is preferably written in rust, but others are welcome too.
Thanks very much for your helpful insights, which are on the target what I am trying to resolve. Yes, I am using Iframe.
Based on my understanding of your input and other info I gathered, let me explore possible viable options and issues incurred. I would appreciate if you can comment on them.
var event; // The custom event that will be created
Another possible option is to use webdirver in RUST, https://crates.io/crates/webdriver. I tried sample code before saw it requires install webdriver executable rather than using as a lib. I can not use webdriver executable. I may need to look into it again to see if api can be used or find sample webdriver api sample code.