Relative Content

Tag Archive for powershellauthenticationcookieswebview2

Using WebView2 and GetCookiesAsync with Powershell

I’m working on a script to log in to an application using SAML2 authentication in WebView2 with the aim of using the cookie for REST-API requests from PowerShell. As a first step, I’m attempting to get cookies with GetCookiesAsync.