Skip to main content

Python Selenium Remote for ChromeDriver

Project description


ChromePy makes it possible to create just one Google Chrome instance and multiple ChromeRemote remote controllers. It avoids opening multiple Chrome instances as it can be very resource consuming.


The workflow is as simple as:

  • Chrome creates a Selenium Chrome Driver instance and saves session data on a text file.
  • ChromeRemote uses this session data to create a Selenium Remote instance and control the same browser driver.


Just install from pip

pip install ChromePy


To start a Chrome instance

from import Chrome

chrome = Chrome.instance

print('Chrome running at ', chrome.current_url)
print(chrome.command_executor._url, chrome.session_id)
input('Press any key to quit chrome...')

To start Remote instances. Remember not to call remote.quit() as it will kill the chrome instance as well.

from chromepy.remote import ChromeRemote

remote1 = ChromeRemote()
print('remote1 url', remote1.current_url)

remote2 = ChromeRemote()
print('remote2 url', remote2.current_url)

This examples can be found in the examples directory.


  • 0.0.5 - Basic Chrome and ChromeRemote

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ChromePy, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size ChromePy-0.0.5-py3-none-any.whl (5.8 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page