Question

1
Replies
449
Views
faithr28 Member since 2017 11 posts
mutual of omaha
Posted: 1 year ago
Last activity: 1 year 5 months ago
Closed

how to inject code into a webpage with executescript

I read in a post that I should use executescript and invokescript in tandem if I want to have my solution run javascript which is not already in the page. I cannot find an example of injecting the script into the page with executescript.

So if I had a basic page a and I have a function I want to inject b(), how would I inject it so that I can use it with invokescript? Where is there a help page or example?

***Edited by Moderator Marissa to update platform capability tags****

Security
Moderation Team has archived post
Share this page LinkedIn