LavaMoat / LavaDome

Secure DOM trees isolation and encapsulation leveraging ShadowDOM
https://lavamoat.github.io/LavaDome/packages/core/demo/
MIT License
16 stars 3 forks source link

Support distraction text stripping from inner secret for debug/tests #20

Closed weizman closed 5 months ago

weizman commented 5 months ago

Web drivers in testings envs capture the distraction text along with the secret, even though the tests expect to only find the secret. Therefore, we now export a new function to help developers strip the distraction text from the secret obtained by the driver to test for a match successfully as before they integrated LavaDome.