When I load up a chromedp context I want it to use my default Chrome session. Keeping all session data and things. So when I load up Dropbox, Discord, Twitter, YouTube... etc I should already logged in and can readily interact with them through chromedp.
I understand there may be security concerns so this action may be impossible. I am only building this tool for personal use and to automate some generic web tasks. I could of course copy all my cookies, auth headers over to the program or physically add logging in using given credentials but it would be easier if I could just specify one flag to deal with using existing detail. I am almost certain that this functionality is in puppeteer?
I have tried adding chromedp.Flag("profile-directory", `"Default"`)
. But it produces a blank window (see below) rather than doing following any Actions. Removing this line will make it function as expected but in an anonymous session.