-
Notifications
You must be signed in to change notification settings - Fork 90
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
How Inject Javascript code into webpage and receive a return value #39
Comments
|
Thank you very much Ststeiger! Works well! But If I wanted to see the web page on chrome and the impact of javascript on the page, is it possible? first i set an index in every tag( with a script), and after, i set border color only for some index( with inject a second script). TY |
Sure, you can screenshot the page. Full code in the sample program: If you need to wait a little after the functions executed:
|
thanks for the answer. I'm already using the example code. But my idea is the interact with the browser and see the page in "realtime". while browsing normally on chrome, I would like to be able to send scripts with external buttons from the browser. For example, while browsing the chrome tab, I wish I could press a key that colors all the "form" tags. it's possible? sorry if i wasn't clear |
I can't understand how to inject a javascript code into the web page. Also how could I get a possible return from this script. I loaded the MasterDevs.ChromeDevTools Solution in C#.
Thanks
The text was updated successfully, but these errors were encountered: