Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Update sensitive_data.py to refine credential entries

Magnus Müller55b0af568d0d
diff --git a/examples/features/sensitive_data.py b/examples/features/sensitive_data.py
index 542e30f65..ac33225ff 100644
--- a/examples/features/sensitive_data.py
+++ b/examples/features/sensitive_data.py
@@ -31,7 +31,8 @@ sensitive_data: dict[str, str | dict[str, str]] = {
'https://*.example-staging.com': company_credentials,
'http*://test.example.com': company_credentials,
# You can also add domain-specific credentials
- 'https://*.google.com': {'g_email': '[email protected]', 'g_pass': 'google_password'},
+ 'https://google.com': {'g_email': '[email protected]', 'g_pass': 'google_password'},
+ 'this_email_works_on_all_domains': '[email protected]',
}
# Update task to use one of the credentials above
task = 'Go to google.com and put the login information in the search bar.'