Skip to content

Commit 5c62947

Browse files
authored
Update 014-pdfJS-Static_PDF_Viewer.au3
1 parent 1ea741f commit 5c62947

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

examples/014-pdfJS-Static_PDF_Viewer.au3

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
_Example()
2626

2727
Func _Example()
28+
ConsoleWrite("! MicrosoftEdgeWebview2 : version check: " & _NetWebView2_IsAlreadyInstalled() & ' ERR=' & @error & ' EXT=' & @extended & @CRLF)
29+
2830
Local $oMyError = ObjEvent("AutoIt.Error", __NetWebView2_COMErrFunc)
2931
#forceref $oMyError
3032

@@ -236,7 +238,6 @@ Func __SetupStaticPDF(ByRef $oWeb, $s_PDF_Path, $sExpectedTitle, $bBlockLinks =
236238
ConsoleWrite("- $s_Viewer_URL= " & $s_Viewer_URL & @CRLF)
237239

238240
_NetWebView2_Navigate($oWeb, $s_Viewer_URL, $NETWEBVIEW2_MESSAGE__TITLE_CHANGED, $sExpectedTitle, 5000)
239-
#Region ; mLipok #TODO this should be fixed by better LoadWait, I mean adding a check if the desired title appears
240241
ConsoleWrite("! we're done with navigation, but check how many more messages there are below. SLN=" & @ScriptLineNumber & @CRLF)
241242
MsgBox($MB_TOPMOST, "TEST #" & @ScriptLineNumber, 'Wait for all messages to full loading PDF by pdf.js')
242243
#EndRegion ; mLipok #TODO this should be fixed by better LoadWait, I mean adding a check if the desired title appears

0 commit comments

Comments
 (0)