Skip to main content

How to Upload Custom Chrome Profile?


Custom Chrome profiles allow you to simulate a real-user environment with specific browser settings. Learn how to upload a custom Chrome profile to run your automated tests on LambdaTest.

Uploading Your Custom Chrome Profile


Below are the steps to upload custom Chrome profile on LambdaTest:

  1. Zip the custom Chrome profile folder and upload it to LambdaTest cloud servers using the API below:
curl --location --request POST 'https://api.lambdatest.com/automation/api/v1/files/profile/chrome' \

--header 'Authorization: Basic xxxxxx' \

--form 'profile=@"/Users/abc/Desktop/zip.zip"'

After you upload the compressed file, a similar URL will be generated:

https://automation-prod-user-files.s3.amazonaws.com/profile/chrome/orgId-2939/zip.zip
  1. Add the above generated URL in your test script using the "browserProfile"capability as shown below:
"browserProfile":"https://automation-prod-user-files.s3.amazonaws.com/profile/chrome/orgId-242939/zip.zip"

Managing Your Custom Chrome Profiles


  • To View the List of Uploaded Profiles: Use the below cURL command:
curl --location --request GET 'https://api.lambdatest.com/automation/api/v1/files/profile/chrome' \
--header 'Authorization: Basic your_auth_key'
  • To Delete the List of Uploaded Profiles: Use the below cURL command:
curl --location --request DELETE 'https://api.lambdatest.com/automation/api/v1/files/profile/chrome' \
--header 'Authorization: Basic your_auth_key' \
--header 'Content-Type: application/json' \
--data-raw '{"key": "zip.zip"}'

Important Notes


  • The compressed zip file must not exceed 100 MB.

  • Ensure that you compress the exact profile folder. Compressing the parent folder or a subfolder will cause the functionality to fail.

Test across 3000+ combinations of browsers, real devices & OS.

Book Demo

Help and Support

Related Articles