Jump to content

Edge Webdriver create new session with the current users profile

Recommended Posts

I have some scripts I have been working on and I have noticed upon creating a new session with Edge the browser will not use the users current logged in Profile and instead uses something like "Profile 1"

Is it possible to open Edge with the users current logged in profile?

I am thinking this is done with capabilities when create a new session but I am not sure.

$sCapabilities = '{"capabilities": {"alwaysMatch": {"ms:edgeOptions": {"w3c": true }}}}'
$result = _WD_CreateSession($sCapabilities)


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...