I'm trying to set a profile in chrome, but it does not work.
Chrome Version: Version 80.0.3987.106
WebDriver: ChromeDriver 80.0.3987.106
Selenium Basic: SeleniumBasic-2.0.9.0.exe
Option Explicit
Public Sub openGChrome()
Dim obj As New WebDriver
Dim i As Integer
Const URL = "https://www.linkedin.com/feed/"
Const JS_PROFILE As String = "C:\Users\ChuckNorris\AppData\Local\Google\Chrome\User Data\Default"
Set obj = New ChromeDriver
With obj
.SetProfile JS_PROFILE, True
.Get URL
Stop
.Quit
End With
End Sub
What i'm doing wrong? Any help?
Edit: The browser open, but i dont have any profile select, i can't login to websites without signin