How to mask credentials on lambdatest?

Hi, Whenever I am trying to login in to one of my applications I can see the credentials on the logs as text. Is there a way I can mask them ? I do not want my creds to be visible in the logs.

Hi Aaron,

Yes, you can mask the text data as well as cookie data in the logs. All you have to do is add on the following capability:

For Java:

String[] command = {"setValues", "setCookies", "getCookies"}; capabilities.setCapability("lambdaMaskCommands", command);

For JS/Python:


This will mask out all the texts as well as cookie data that is being entered in your test.

Hope this helps!

Happy Testing!