SeleniumBasic icon indicating copy to clipboard operation
SeleniumBasic copied to clipboard

Setting profile in Edge

Open mike-lowski opened this issue 3 years ago • 1 comments

Is there a way to use the default profile or some other profile with Edge? The .setProfile syntax or .addArgument don't seem to work and slenium keeps generating a temporary profile.

mike-lowski avatar Aug 07 '21 11:08 mike-lowski

Hello there. I'm having the same issue. This works very nice in VBA and Selenium Basic with Chrome:

Driver.SetProfile "C:\Users\UserNameHere\AppData\Local\Google\Chrome\User Data" Driver.Start Driver.Get ("https://www.google.com/")

but not with MS Edge:

Driver.SetProfile "C:\Users\UserNameHere\AppData\Local\Microsoft\Edge\User Data\Default" Driver.Start Driver.Get ("https://www.google.com/")

Has anyone solved this?. Thanks!

rufogil avatar Feb 03 '22 05:02 rufogil