SeleniumBasic icon indicating copy to clipboard operation
SeleniumBasic copied to clipboard

No such window: Window was already closed - Selenium VBA

Open Gaaya3 opened this issue 7 years ago • 1 comments

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 driver issue Thanks Gayathri

Gaaya3 avatar Nov 16 '17 10:11 Gaaya3

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
`

mogulman52 avatar Nov 25 '17 17:11 mogulman52