I'm using Kameleo's local-api-client-python with Selenium to automate browser profile generation and browser actions.
I noticed that when I automate the profiles are being created with the same chrome version, how do I get that to be unique and random?
I'm using the example code provided in the README but every time Chrome is created with the same version. I need different versions
from kameleo.local_api_client.kameleo_local_api_client import KameleoLocalApiClient
from kameleo.local_api_client.builder_for_create_profile import BuilderForCreateProfile
client = KameleoLocalApiClient()
base_profiles = client.search_base_profiles(
device_type='desktop',
browser_product='chrome'
)
# Create a new profile with recommended settings
# for browser fingerprinting protection
create_profile_request = BuilderForCreateProfile \
.for_base_profile(base_profiles[0].id) \
.set_recommended_defaults() \
.build()
profile = client.create_profile(body=create_profile_request)
# Start the browser
client.start_profile(profile.id)