WebDriverSetProfile Method |
Namespace: Selenium
Dim instance As WebDriver Dim nameOrDirectory As String Dim persistant As Boolean instance.SetProfile(nameOrDirectory, persistant)
Dim driver As New Selenium.FirefoxDriver driver.SetProfile "Selenium" 'Firefox only. Profile created by running "..\firefox.exe -p" driver.Get "http://www.google.com" ...
Dim driver As New Selenium.FirefoxDriver driver.SetProfile "C:\MyProfil" 'For Chrome and Firefox only driver.Get "http://www.google.com" ...