You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With [Kameleo](https://kameleo.io), you can easily create multiple virtual browser profiles to work with multiple accounts. It helps you hide your actual timezone, geolocation, language, IP address and creates natural browser fingerprints to prevent detection by anti-bot systems. Kameleo is compatible with [Selenium](https://www.selenium.dev/), [Playwright](https://playwright.dev/), and [Puppeteer](https://pptr.dev/) frameworks for automating web scraping tasks. This Python package provides convenient access to the [Local API](https://app.swaggerhub.com/apis/kameleo-team/kameleo-local-api/) REST interface of the Kameleo Client. See the [article](https://help.kameleo.io/hc/en-us/articles/4418166326417) in our knowledge base for Getting Started with Kameleo Automation.
5
4
5
+
With [Kameleo](https://kameleo.io), you can easily create multiple virtual browser profiles to work with multiple accounts. It helps you hide your actual timezone, geolocation, language, IP address and creates natural browser fingerprints to prevent detection by anti-bot systems. Kameleo is compatible with [Selenium](https://www.selenium.dev/), [Playwright](https://playwright.dev/), and [Puppeteer](https://pptr.dev/) frameworks for automating web scraping tasks. This Python package provides convenient access to the [Local API](https://app.swaggerhub.com/apis/kameleo-team/kameleo-local-api/) REST interface of the Kameleo Client. See the [article](https://help.kameleo.io/hc/en-us/articles/4418166326417) in our knowledge base for Getting Started with Kameleo Automation.
6
6
7
7
# Features
8
-
- Stay completely undetected, so websites won’t be able to detect that you are using automation tools
9
-
- Start unlimited number of profiles with different natural browser fingerprints
10
-
- Use authenticated HTTP/SOCKS/SSH proxies in browsers
Kameleo gives you the ability to control any supported browser using Selenium. It uses the WebDriver protocol, a W3C specification, and industry-standard to interact with a browser.
65
69
66
70
You need to install the official [Selenium package](https://pypi.org/project/selenium/).
The full example can be found [here](https://github.com/kameleo-io/local-api-examples/blob/master/python/connect_to_selenium/app.py).
88
92
89
93
# Automate Kameleo profiles with Puppeteer (Chromium-based)
94
+
90
95
Kameleo lets you control Chromium-based browsers (sorry Firefox fans) using the [Pyppeteer library](https://pypi.org/project/pyppeteer/). In this simple example you can see how to connect to the browser that Kameleo starts.
91
96
92
97
You need to import the [Pyppeteer library](https://pypi.org/project/pyppeteer/).
The full example can be found [here](https://github.com/kameleo-io/local-api-examples/blob/master/python/connect_with_puppeteer/app.py).
111
116
112
117
# Automate Kameleo profiles with Playwright
118
+
113
119
Kameleo allows you to control the browser with the official [Playwright package](https://pypi.org/project/playwright/). It works little bit different with Chromium-based browsers and Firefox, so we provide an example for both. Here we showcase how you can connect to the browser that is already started by Kameleo.
114
120
115
121
You need to import the official [Playwright package](https://pypi.org/project/playwright/).
122
+
116
123
```python
117
124
import playwright
118
125
from playwright.sync_api import sync_playwright
@@ -145,15 +152,19 @@ The full example can be found [here](https://github.com/kameleo-io/local-api-exa
# At this point you can automate the browser with your favorite framework
212
224
```
213
-
The full example can be found [here](https://github.com/kameleo-io/local-api-examples/blob/master/python/automate_mobile_profiles_on_desktop/app.py).
214
225
226
+
The full example can be found [here](https://github.com/kameleo-io/local-api-examples/blob/master/python/automate_mobile_profiles_on_desktop/app.py).
215
227
216
228
# Example codes
229
+
217
230
[Several examples](https://github.com/kameleo-io/local-api-examples) have been prepared in a different repository to showcase the most interesting features. Feel free to create a pull request to add new example codes.
218
231
219
-
- Finding base profiles
220
-
- Creating profiles with custom options
221
-
- Updating profiles with new settings
222
-
- How to start a profile
223
-
- Using Selenium with Local API
224
-
- Using Playwright with Kameleo
225
-
- Using Puppeteer with Kameleo
226
-
- How to emulate mobile devices
227
-
- Adding an HTTP, SOCKS or SSH proxy to profile
228
-
- Saving/Loading a browsing session to/from a .kameleo file
229
-
- Modify and Delete browser cookies
230
-
- Start profile with extra WebDriver capabilities
231
-
- How to duplicate virtual browser profiles
232
-
- Refresh the browser of the emulated profiles
232
+
-Finding base profiles
233
+
-Creating profiles with custom options
234
+
-Updating profiles with new settings
235
+
-How to start a profile
236
+
-Using Selenium with Local API
237
+
-Using Playwright with Kameleo
238
+
-Using Puppeteer with Kameleo
239
+
-How to emulate mobile devices
240
+
-Adding an HTTP, SOCKS or SSH proxy to profile
241
+
-Saving/Loading a browsing session to/from a .kameleo file
242
+
-Modify and Delete browser cookies
243
+
-Start profile with extra WebDriver capabilities
244
+
-How to duplicate virtual browser profiles
245
+
-Refresh the browser of the emulated profiles
233
246
234
247
> Note: _If you are interested in more information about Kameleo, or have encountered an issue with using it, please check out our [Help Center](https://help.kameleo.io/)._
235
248
236
-
237
249
# Endpoints
250
+
238
251
Available API endpoints with exhaustive descriptions and example values are documented on this [SwaggerHub](https://app.swaggerhub.com/apis/kameleo-team/kameleo-local-api/) page. This package has built-in [IntelliSense](https://code.visualstudio.com/docs/editor/intellisense) support in Visual Studio Code, no extra package installation needed.
239
252
240
253
# Package
254
+
241
255
This package can be found on PyPI here: [kameleo.local-api-client](https://pypi.org/project/kameleo.local-api-client/).
242
256
243
257
# License
258
+
244
259
This project is released under MIT License. Please refer the LICENSE.txt for more details.
0 commit comments