executeFunction method
To run a custom function on WPP
Implementation
Future executeFunction(
String function, {
bool tryPromise = true,
}) async {
await wpClient.evaluateJs(
function,
methodName: "executeFunction",
tryPromise: tryPromise,
);
}