+1 vote
1 view
in Devops and Agile by (24.5k points)

I am trying to use selenium with .NET (C#) to pull Flash cookies from a particular URL (in this case, a game on kongregate). I know where the flash cookies are stored physically for the browser I use personally. I attempted to access the flash cookies using the physical location in google Chrome's directory (Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash\WritableRoot#SharedObjects), however this has no effect on the flash cookies a gather using selenium. How can I get access to the Shared Object files that are stored through my selenium instance?

1 Answer

0 votes
by (62.4k points)

Try loading a custom Chrome profile and see if that helps. Here's a quick example.

ChromeOptions options = new ChromeOptions(); options.addArguments("user-data-dir=/path/to/your/custom/profile");

See here for more details

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...