Share via

Maximum script in CoreWebView2.ExecuteScriptAsync?

TomGet 1 Reputation point
2022-01-29T01:07:11.363+00:00

I need to execute javascript to set quite a few values on a web page. Is there a limit to the length of script I can provide to CoreWebView2.ExecuteScriptAsync()? I can split my script up if needed, but I'd rather not have to use trial and error to find the limit (if there is one).

Microsoft Edge | Microsoft Edge development
0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2022-02-01T03:18:59.943+00:00

    Hi @TomGet

    I think there's no special limitation of the length of the script. I don't find related information in official doc.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Regards,
    Yu Zhou

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.