🚀 Feature Proposal
Passwords and other secrets sent by sendKeys variants are seen in plaintext in the logs. It would be nice to be able to prevent that for example by providing an additional parameter to sendKeys function as done in Appium, FR appium/appium#7622, PR appium/appium-support#180.
I wonder if it’s technically possible to hide in the headers and body of responses as well as printing to standart output.
Motivation
As a developer, I would like to know that the data in Selenium logs does not expose secrets that can be used to harm my company in case an attacker would take over an account.
Example
Example given, if my tests requires me to have a secret as part of it – in a best case, a session token; in a worse case, credentials to an application – I would like to be sure it can not be retrieved from Selenium logs.
For that, I would like to have a way to tell Selenium that I want to mask or redact logging particular data in logs. For example, providing a regex to change QC123456789 in the logs to QC*********.
🚀 Feature Proposal
Passwords and other secrets sent by sendKeys variants are seen in plaintext in the logs. It would be nice to be able to prevent that for example by providing an additional parameter to sendKeys function as done in Appium, FR appium/appium#7622, PR appium/appium-support#180.
I wonder if it’s technically possible to hide in the headers and body of responses as well as printing to standart output.
Motivation
As a developer, I would like to know that the data in Selenium logs does not expose secrets that can be used to harm my company in case an attacker would take over an account.
Example
Example given, if my tests requires me to have a secret as part of it – in a best case, a session token; in a worse case, credentials to an application – I would like to be sure it can not be retrieved from Selenium logs.
For that, I would like to have a way to tell Selenium that I want to mask or redact logging particular data in logs. For example, providing a regex to change
QC123456789in the logs toQC*********.