MixinNetwork / MixinNetwork/flutter-plugins
[desktop_webview_window] listen to page finished loading
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 512
- Forks
- 292
- Avg merge
- 15h 8m
- Merged PRs (30d)
- 7
Description
I want to listen to the page loaded in the Webiew to parse its content
I get content by
final content = await webview.evaluateJavaScript(
"document.documentElement.outerHTML.toString()");
but it prints
flutter: <html><head></head><body></body></html>
I know you have used Future.delay in your example but It is better to listen to the page loaded
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the desktop_webview_window API around evaluateJavaScript and how page navigation is reported. The issue is done when callers can observe page-finished loading and use that signal to retrieve populated page HTML instead of relying on a delay; no specific test or source file is named.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- desktop, web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100