I know what concrete result I want, but what precisely what I want to do is an unknown to me, so forgive me if the title is incorrect.
Essentially, I want to invoke a function in a page's scripts. Here's an example.
getProviderMPForms which is used to fetch the data for the pageI want to call this function directly, from the context of the web console (actually running in Selenium, but basically the web console). Is this even possible? I've looked up something along the lines of switching context, but I'm not even certain what the precise problem I'm facing is.
The browser is Chrome, but ideally the solution only depends on browser-agnostic JS.