Update APPLICATION_README.md
Browse files- APPLICATION_README.md +33 -33
APPLICATION_README.md
CHANGED
|
@@ -1,34 +1,34 @@
|
|
| 1 |
-
# Chrome Controller for Hugging Face Spaces
|
| 2 |
-
|
| 3 |
-
This application provides a Gradio interface to control a Chrome instance with a custom profile in Hugging Face Spaces.
|
| 4 |
-
|
| 5 |
-
## Features
|
| 6 |
-
|
| 7 |
-
1. Installs
|
| 8 |
-
2. Creates a permanent profile directory at `/app/chrome_profile`
|
| 9 |
-
3. Launches Chrome with the custom profile and remote debugging enabled
|
| 10 |
-
4. Provides controls to:
|
| 11 |
-
- Start Chrome with debugging
|
| 12 |
-
- Check if Chrome is running
|
| 13 |
-
- Take screenshots of the Chrome window
|
| 14 |
-
- Stop Chrome processes
|
| 15 |
-
|
| 16 |
-
## How to Use
|
| 17 |
-
|
| 18 |
-
1. Click "Start Chrome" to launch a Chrome instance with a custom profile
|
| 19 |
-
2. Once started, you can take screenshots of the browser window
|
| 20 |
-
3. Use "Stop Chrome" to terminate all Chrome processes
|
| 21 |
-
|
| 22 |
-
## Profile Persistence
|
| 23 |
-
|
| 24 |
-
The Chrome profile is stored in `/app/chrome_profile` which persists between sessions in Hugging Face Spaces. This means:
|
| 25 |
-
- Extensions and settings will be preserved
|
| 26 |
-
- Browsing history will be maintained
|
| 27 |
-
- Login sessions may persist
|
| 28 |
-
|
| 29 |
-
## Technical Details
|
| 30 |
-
|
| 31 |
-
- Uses
|
| 32 |
-
- Remote debugging port: 9222
|
| 33 |
-
- Headless mode for compatibility with Hugging Face Spaces
|
| 34 |
- Selenium WebDriver for browser automation
|
|
|
|
| 1 |
+
# Chrome Controller for Hugging Face Spaces
|
| 2 |
+
|
| 3 |
+
This application provides a Gradio interface to control a Chrome instance with a custom profile in Hugging Face Spaces.
|
| 4 |
+
|
| 5 |
+
## Features
|
| 6 |
+
|
| 7 |
+
1. Installs Google Chrome browser in the Docker container
|
| 8 |
+
2. Creates a permanent profile directory at `/app/chrome_profile`
|
| 9 |
+
3. Launches Chrome with the custom profile and remote debugging enabled
|
| 10 |
+
4. Provides controls to:
|
| 11 |
+
- Start Chrome with debugging
|
| 12 |
+
- Check if Chrome is running
|
| 13 |
+
- Take screenshots of the Chrome window
|
| 14 |
+
- Stop Chrome processes
|
| 15 |
+
|
| 16 |
+
## How to Use
|
| 17 |
+
|
| 18 |
+
1. Click "Start Chrome" to launch a Chrome instance with a custom profile
|
| 19 |
+
2. Once started, you can take screenshots of the browser window
|
| 20 |
+
3. Use "Stop Chrome" to terminate all Chrome processes
|
| 21 |
+
|
| 22 |
+
## Profile Persistence
|
| 23 |
+
|
| 24 |
+
The Chrome profile is stored in `/app/chrome_profile` which persists between sessions in Hugging Face Spaces. This means:
|
| 25 |
+
- Extensions and settings will be preserved
|
| 26 |
+
- Browsing history will be maintained
|
| 27 |
+
- Login sessions may persist
|
| 28 |
+
|
| 29 |
+
## Technical Details
|
| 30 |
+
|
| 31 |
+
- Uses Google Chrome browser
|
| 32 |
+
- Remote debugging port: 9222
|
| 33 |
+
- Headless mode for compatibility with Hugging Face Spaces
|
| 34 |
- Selenium WebDriver for browser automation
|