A bit all over the place and quite niché, this issue, but I'm trying to run Synthetic Tests (browser click tests) via Datadog. This is all fine, they have documentation on how to target and manipulate ShadowRoot elements which I have followed with success.
The issue I've gotten stuck on though is that even though my JS that sets the email and password field values runs fine and fills the form fields, the fields get cleared as soon as "Sign In" is clicked and the required field errors pop up. My guess is that I'm not setting the value of the fields to the internal JS that the supertokens login form uses behind the scenes.
Is there some way I can work around this? Sadly don't seem to have any options from Datadog's end when it comes to ShadowRoot targeting...