SeleniumBasic
SeleniumBasic copied to clipboard
No such window: Window was already closed - Selenium VBA
Hi
I have Main Window and Sub Window, when i click on OK button in Sub window, I got the below Error. How to handle this?
Dim driver As SeleniumWrapper.WebDriver
Set driver = New SeleniumWrapper.WebDriver
Thanks
Gayathri
I believe SeleniumWrapper is some outdated Firefox capability. Use something like this:
`Private Sub Use_Chrome()
Dim driver As New ChromeDriver
driver.Get "https://www.google.co.uk"
driver.Quit
End Sub
`