Skip to content

Commit 96a5b1a

Browse files
authored
Update 018-BasicFramesDemo.au3
1 parent 1d8ad45 commit 96a5b1a

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

examples/018-BasicFramesDemo.au3

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ Func Main()
5555
If @error Then Return SetError(@error, @extended)
5656

5757
#Region ; Example part 1 - testing NetWebView2Lib new methodes: .GetFrameCount() .GetFrameUrl($IDX_Frame) .GetFrameName($IDX_Frame)
58+
ConsoleWrite("+ Example part 1 - testing NetWebView2Lib new methodes: .GetFrameCount() .GetFrameUrl($IDX_Frame) .GetFrameName($IDX_Frame)" & @CRLF)
59+
5860
Local $iFrameCount = $oWebV2M.GetFrameCount()
5961
ConsoleWrite(@CRLF)
6062
ConsoleWrite("! " & @ScriptLineNumber & " : Frames=" & $iFrameCount & @CRLF)
@@ -66,12 +68,15 @@ Func Main()
6668
Next
6769
#EndRegion ; Example part 1 - testing NetWebView2Lib new methodes: .GetFrameCount() .GetFrameUrl($IDX_Frame) .GetFrameName($IDX_Frame)
6870

69-
#Region ; Example part 2 - testing NetWebView2Lib new methodes .GetFrameUrls() .GetFrameNames()
71+
#Region ; Example part 2 - testing NetWebView2Lib new methodes: .GetFrameCount() .GetFrameUrl($IDX_Frame) .GetFrameName($IDX_Frame)
72+
ConsoleWrite("+ Example part 1 - testing NetWebView2Lib new methodes: .GetFrameCount() .GetFrameUrl($IDX_Frame) .GetFrameName($IDX_Frame)" & @CRLF)
73+
7074
ConsoleWrite("! " & @ScriptLineNumber & " : GetFrameUrls() :" & @CRLF & $oWebV2M.GetFrameUrls() & @CRLF)
7175
ConsoleWrite("! " & @ScriptLineNumber & " : GetFrameNames() :" & @CRLF & $oWebV2M.GetFrameNames() & @CRLF)
7276
#EndRegion ; Example part 2 - testing NetWebView2Lib new methodes .GetFrameUrls() .GetFrameNames()
7377

7478
#Region ; Example part 3 - testing NetWebView2Lib new methodes .GetFrameHtmlSource($IDX_Frame)
79+
ConsoleWrite("+ Example part 3 - testing NetWebView2Lib new methodes .GetFrameHtmlSource($IDX_Frame)" & @CRLF)
7580
For $IDX_Frame = 0 To $iFrameCount - 1
7681
ConsoleWrite(@CRLF & "======================================================" & @CRLF)
7782
ConsoleWrite("! " & @ScriptLineNumber & " : GetFrameHtmlSource(" & $IDX_Frame & ") :" & @CRLF & $oWebV2M.GetFrameHtmlSource($IDX_Frame) & @CRLF)

0 commit comments

Comments
 (0)