Once you're familiar with the HTTP nterceptor and network table, you can proceed to set up Requestly with your browser. Requestly’s browser integration enables you to monitor, debug, and modify network requests seamlessly, all within your development environment. Whether you're an API developer debugging endpoints, a QA tester simulating error conditions, or a front-end developer testing changes without updating the backend, Requestly simplifies these tasks effortlessly.
Connect browsers with Requestly
Requestly allows you to connect multiple browsers, making it easy to configure and switch between them for network interception.
To open the Connect Panel, follow these steps:
Open the Network Traffic Tab
Navigate to the Network Traffic tab located on the right sidebar.
Click the Connect Apps Button
Click on any of the Connect Apps
buttons, as shown below:
This will open the Connect Panel, displaying all supported browsers on your system, along with other sources that Requestly supports.
Launch a Browser with Requestly Proxy
Select your preferred browser from the Connect Panel and click Launch/Open. This will start a new browser instance configured with the Requestly proxy.
-
For Chromium-based browsers, Requestly applies the
--proxy-server
flag, configuring the browser to route all network traffic through the Requestly proxy server -
Then requestly automatically installs CA certificate to your system’s certificate store.
Verify Proxy Setup
The newly launched browser instance will automatically open amiusing.requestly.io. A success message on this page confirms that the browser is using Requestly’s proxy.
View Captured Traffic
Return to the Requestly dashboard to review all captured network traffic in the Network table.w
Supported Browsers & Profiles
The Connect Panel shows a list of browsers that Requestly supports. You can select from various profiles for browsers such as Google Chrome, Firefox, and Safari. Here are the details of each browser and its profile options:
-
Google Chrome (New Profile):
Launch a new browser profile without any pre-configured settings, logins, or extensions. This is ideal for testing requests in a clean environment.
-
Google Chrome (Existing Profile):
Use an existing Chrome profile to connect, keeping all your extensions, settings, and history intact.
-
Firefox:
Connect to Firefox for testing your network requests on this browser. it will launch a new profile with a clean environment.
-
Arc:
Arc is another modern browser supported by Requestly. You can create a new profile or use an existing one.
-
Safari:
Connect to Safari browser, clicking the connect button will open a new safari window.
When you launch safari from Requestly, it sets a system wide proxy due to technical constraints. Make sure to turn it off after done debugging
For other browsers, find the proxy IP and port at the top of Requestly’s dashboard and refer to your browser's documentation to configure proxy settings.
Custom Browser Launch Options
Requestly offers custom browser launch options for certain browsers, specifically Chromium-based ones. These options allow you to tweak the behavior of the browser during interception.
Use the buttons next to the browser selection to customize the launch options. Here's a quick rundown of the preset configurations:
Without Safety Checks Disables security restrictions, allowing insecure content to run and third-party modules to load. Flags used:
-
--allow-running-insecure-content
Allows the browser to load content from websites that are not served over HTTPS. -
--allow-insecure-localhost
Allows insecure content to be loaded fromlocalhost
-
--allow-third-party-modules
Allows third-party modules (which could include extensions or custom scripts) to run even if they are not from trusted sources
Without CORS The --disable-web-security
flag disables CORS (Cross-Origin Resource Sharing) restrictions in the browser, allowing requests to be made across different domains without security checks, to learn more on cors check out our blogpost here.
With Custom Arguments
Launch the browser with custom flags (only supported for Chromium-based browsers). Here are some interesting flags for launching Chromium-based browsers with custom arguments:
--incognito
: Launches Chromium in Incognito mode by default.
--window-size
: Sets the initial window size. Provided as string in the format "800,600".
--user-agent
: A string used to override the default user agent with a custom one.
A full list of available arguments can be found here.