Private Sub Use_UtilsCls_Match()
Dim Utils As New Utils
Dim List As New List
Dim str As String
str = "hogeagesagehogehoge"
Debug.Print "IsMatch: " & Utils.IsMatch(str, "hoge*")
Debug.Print "Match: " & Utils.Match(str, "hoge", 0)
Debug.Print "Replace: " & Utils.Replace(str, "hoge", "")
Set List = Utils.Matches(str, "hoge")
Debug.Print "List1: " & List.Item(1)
Debug.Print "List2: " & List.Item(2)
Debug.Print "List3: " & List.Item(3)
End Sub
Use_UtilsCls_other
Private Sub Use_UtilsCls_other()
Dim Keys As New Keys
Dim driver As New ChromeDriver
Dim Utils As New Selenium.Utils
driver.Get "https://en.wikipedia.org/wiki/Main_Page"
Dim img As Selenium.Image
Set img = Utils.TakeScreenshot()
' img.Copy
img.ToExcel
Stop
driver.Quit
End Sub