Instead of dealing with signing in every time, I prefer pre-signing in on my profile.
Even though I am using the code below, it's still not loading in the specified profile. What can I do to resolve this issue?
const browser = await remote({
capabilities: {
browserName: 'chrome',
'goog:chromeOptions': {
args: [
`user-data-dir=C:/Users/rudra/AppData/Local/Google/Chrome`,
`profile-directory=Avg`
]
}
},
});