Feature Request - Add EvaluateScriptAsync CancellationToken overload
Open
feature-request
- Dominant language
- C#
- Stars
- 10.3k
- Forks
- 2.9k
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 4
Description
Currently it is not possible to specify a CancellationToken for canceling the EvaluateScriptAsync task. Therefore, when executing a long-running javascript method it is not possible to cancel it.
**Describe the solution you'd like:**
Extend the WebBrowserExtensions.EvaluateScriptAsync() method with the possibility to specifiy a CancellationToken.
Contributor guide
Research direction
Locate WebBrowserExtensions.EvaluateScriptAsync and inspect its existing overloads and related cancellation handling. Add the requested CancellationToken overload and verify that a long-running JavaScript evaluation can be cancelled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, javascript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100