Skip to content

_NetWebView2_Navigate() + _NetWebView2_Navigate() $iWaitMessage = $NETWEBVIEW2_MESSAGE__TITLE_CHANGED + CLEANUP#54

Merged
ioa747 merged 3 commits intoioa747:mainfrom
mlipok:patch-1
Feb 2, 2026
Merged

_NetWebView2_Navigate() + _NetWebView2_Navigate() $iWaitMessage = $NETWEBVIEW2_MESSAGE__TITLE_CHANGED + CLEANUP#54
ioa747 merged 3 commits intoioa747:mainfrom
mlipok:patch-1

Conversation

@mlipok
Copy link
Copy Markdown
Contributor

@mlipok mlipok commented Feb 2, 2026

…E_CHANGED

Important

Thanks for your effort and interest 💛 in improving the project. It's very appreciated.

Description

_NetWebView2_Navigate() + _NetWebView2_Navigate()
$iWaitMessage = $NETWEBVIEW2_MESSAGE__TITLE_CHANGED
as default

  • some clenaup
  • added enumerated events

🔗 Linked GitHub Issues

none

Closes #<number>

📋 What is the current behavior?

by default Navigation is waiting for COMPLETE but this is not entire process done by Browser/WebView2 component

🚀 What is the new behavior?

by default Navigation waiting till Title Change which is probable the last fired event in navigation process done by browser/WebView2 component.


Type of changes

  • 🪲 Bugfix (change which fixes an issue)
  • ⭐ New Feature (change which adds functionality)
  • ⭐ New Example (this PR adds a new example)
  • 🔒 Security fix (change which improves security)
  • 🔮 Code style update (formatting, renaming)
  • 🔨 Refactoring (code optimization without functional change)
  • 📚 Documentation (updates to README or docs)
  • ⚙️ Build or CI related changes
  • 🧿 Other type

Breaking changes 🔥

  • Yes
  • No

How and where was this tested?

🖥️ Describe where you tested your changes

System:

  • Windows 11 (x64)
  • Windows 10 (x64)
  • Windows 10 (x86)
  • Windows Server ......

Context:

  • COM object NetJson.Parser
  • COM object NetWebView2.Manager - WebView2
  • COM object NetWebView2.Manager - Bridge
  • UDF - NetWebView2Lib.au3
  • Examples: ...
  • with ...

🔬 Describe how you tested your changes

  • Manually tested in system and context shown above
  • Ran automatic tests (unit tests, integration tests, etc.)
  • Other ways

Checklist

  • I have read and understood the available contributing guidelines.
  • I have ensured my code follows the available code conventions.
  • I have reviewed my changes.
  • I have made corresponding changes to the documentation (if applicable).
  • I have added/updated necessary tests to cover the changes (if applicable).
  • I have checked for potential security implications.

Additional context

https://learn.microsoft.com/en-us/microsoft-edge/webview2/get-started/wpf#step-7---navigation-events

Screenshots

none

Note to reviewers

none

@ioa747 ioa747 merged commit c9de980 into ioa747:main Feb 2, 2026
@mlipok mlipok deleted the patch-1 branch February 2, 2026 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants