In this article we are going to show you how to set your own custom notes to a profile of your choosing, this can be very good as setting notes for yourself can have several advantages, both in personal and professional contexts.
To learn more about Notes, and how to set them, we highly advise that you read the following article:
Concept
More often the not we find ourselves in the need of additional tools to complete our tasks and to work on our designated projects. Hence why we've made it very easy to set custom notes to your profiles. Below you can find the examples for Javascript and Python:
Examples
-
const createProfileRequest = BuilderForCreateProfile .forBaseProfile(chromeBaseProfileList[0].id) .setRecommendedDefaults() .setNotes('Profile for web scraping task A') .build(); const profile = await client.createProfile({ body: createProfileRequest });
-
create_profile_request = BuilderForCreateProfile \ .for_base_profile(base_profiles[0].id) \ .set_recommended_defaults() \ .set_notes('Profile for web scraping task A') \ .build() profile = client.create_profile(body=create_profile_request)
For your convenience, this functionality is provided by the Python Builder and JavaScript Builder for Profile Creation in the Local API Clients.