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,17 @@
Attribute VB_Name = "browsers_running"
' This module shows how to work with a running instance of
' a driver by using the GetObject function.
'
' To do so, create a vbs file with the following code and run it.
'
' Set driver = CreateObject("Selenium.ChromeDriver")
' driver.Start
' WScript.Echo "Click OK to quit"
'
Public Sub OpenURL()
Dim driver As WebDriver
Set driver = GetObject("Selenium.WebDriver")
driver.Get "https://www.google.co.uk"
End Sub