[Python] How do you load multiple chrome browsers with Kameleo and Selenium?

Discussão em 'Python' iniciado por Stack, Maio 22, 2025.

  1. Stack

    Stack Membro Participativo

    I want to load multiple chrome browsers using Kameleo's Selenium. Can someone give me some example code to show how it’s done? The selenium portion of my code is:

    options = webdriver.ChromeOptions()
    options.add_experimental_option('kameleo:profileId', profile.id)
    driver = webdriver.Remote(
    command_executor=f'{kameleoBaseUrl}/webdriver',
    options=options
    )

    driver.get('https://www.youtube.com/watch?v=wLTp9ni9mKc&t=1s')
    driver.find_element(By.XPATH, "//button[@aria-label='Play']").click()

    Continue reading...

Compartilhe esta Página