This commit is contained in:
louiscklaw
2025-02-01 01:59:56 +08:00
parent b3da7aaef5
commit 8719fe58b8
310 changed files with 6332 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
Attribute VB_Name = "browsers_static"
' This module contains is an example on how to use
' the same instance of a browser with different
' procedures.
'
Private driver As New Selenium.ChromeDriver
Private Assert As New Selenium.Assert
Private Verify As New Selenium.Verify
Private Waiter As New Selenium.Waiter
Private utils As New Selenium.utils
Private Keys As New Selenium.Keys
Private By As New Selenium.By
Public Sub NavigateToURL1()
driver.Get [Sheet4!B2]
End Sub
Public Sub NavigateToURL2()
driver.Get [Sheet4!B5]
End Sub
Public Sub QuitDriver()
driver.Quit
Set driver = Nothing
End Sub