2 Enable Cloud Browsing
2.1 Goal
Complete the basic machine -> browser instance -> user Cloud Browser flow so users can open a remote browser from the Sa2web frontend.
Each frontend user has an independent remote browser profile. If user A visits and logs in to a site through Cloud Browser, user B will not inherit user A’s login state when visiting the same site. Their cookies, sessions, and browser data remain isolated.
2.2 Add a Machine
Go to:
Browser Management > Machine Management
Click Add Machine and fill in:
| Field | Recommendation |
|---|---|
| IP address | The private IP of the current Sa2web deployment server |
| Port | Default 7000 |
After saving, return to the machine list and confirm that the machine status is normal, as shown in Figure 2.1.
2.3 Add a Browser
Go to:
Browser Management > Browser List
Click Add Navigator, as shown in Figure 2.2, and fill in:
| Field | Recommendation |
|---|---|
| Machine | Select the machine you just added |
| Browser version | Use the built-in browser version |
| Browser ID | Enter an easy-to-recognize ID, such as chrome100 |
Choose the network mode based on your scenario:
| Mode | Description |
|---|---|
| Host Network | Uses the server’s local network. HTTP/SOCKS5 proxies can be configured. Suitable for general access scenarios |
| Isolated Network | Creates an independent network environment for this browser. DNS, UDP, WebRTC, and other traffic are taken over. Suitable for scenarios with stronger network isolation requirements |
If you choose Isolated Network, configure the network proxy in the current browser configuration. Proxies configured elsewhere in the system do not apply to this isolated network.
After saving, click to start the browser. When the status becomes Running, the browser instance can be scheduled, as shown in Figure 2.3.
2.4 Configure the Browser
In the browser list, click the “
” button to open the browser configuration page.
Common settings include:
- Kernel version.
- Operating system.
- Browser brand.
- Browser version.
- Mobile phone model.
- Time zone.
- Language.
For more complete configuration details, see the browser instance configuration section in Chapter 12, “Site and Inner Site Configuration”.
2.6 Verify the User Frontend
Open the user frontend:
https://<APP_DOMAIN>/
You can also open the login page directly:
https://<APP_DOMAIN>/app/login
Log in as an authorized user. After entering the frontend, you will see a search and URL input box near the top center of the page, with proxy and network selectors nearby.
If you configured an isolated network, first choose the authorized browser in the network dropdown, such as chrome100. Then enter a keyword or URL in the input box:
demo
https://www.sa2web.com
If a new tab opens and web browsing works normally, Cloud Browser is available, as shown in Figure 2.9.