Real Browser User support is a way of simulating Internet access and browsers executing the transaction via a “real” browser (Real Browser Users or RBU). RBUs are heavily loaded as compared to the load generated by typical Virtual Users as an RBU uses a real browser to download web page components.

Real Browser User Settings

The user can provide the following real browser settings.

Run Virtual User as Real Browser User

Select this check box to run the virtual user as a real browser user. RBUs are heavily loaded as compared to the load generated by typical Virtual Users because RBUs use an actual web browser for fetching web page components.

Execution Mode

Select the execution mode in which the user wants to execute the test. User can execute the test in two modes:

Agent

Users can select either the Cavisson agent or the Puppeteer agent.

Browser

The Browser shown depends on the Agent selected. If Cavisson Agent is selected, then the user can use Chrome and Firefox Browser and if Puppeteer Agent is selected, then the user can use the Chrome and Chrome Headless Browser. After selecting the browser, the user can select its version from the drop-down list.

In Cavisson Agent Chrome and Puppeteer Chrome, the only difference is that they will use their respective libraries.

User Agent String

A user agent string is a text string that a web browser or web client sends to a web server to identify itself and provide information about its capabilities. This string is part of the HTTP request headers sent when a user accesses a website. It includes information about browser, browser version, operating system, etc.

Select the following options from the drop-down for user agent string:

Click And Script Options

Video Clip Settings

Note :- By enabling the capture video or capture rendering metrics option user can see the Start rendering time and visual complete time metrics in the page average report.

Content Delivery Network (CDN) Offload Settings

Here, the user can perform content delivery network (CDN) offload settings. CDN is the process of distributing and serving web content, such as images, videos, stylesheets, and scripts, from a CDN rather than directly from the origin server hosting a website.

Performance Tool Settings

Cache and Cookie Settings

TimeOut Settings

URL settings

Domain Settings

Additional Metrics

Waterfall Settings

Advanced Settings

Lighthouse Options

Lighthouse Settings

Advanced Settings

Why Use A Headless Browser For Test Execution ?

Run tests efficiently and speedily

The performance with a headless browser is better compared to real browser automation. The real browsers like Google Chrome, Firefox, and Internet Explorer take a significant amount of time to load CSS, JavaScript, Images, and open and render HTML. Headless browsers do not require all this to load and will start performing functions without waiting for a page to load completely. When we need to run the regression scripts, in headless browsers, we could save time as they are much faster and can render results quickly.

Limitation

Debugging will not be feasible, as the only way to check what's running on the browser is to grab the screenshots and validate the output.

The user cannot see the test execution in VNC as it is a non-UI execution. Headless browsers don't mimic the exact user behavior. The page doesn't render precisely with all the dependencies that it will render in an actual browser.not be feasible, as the only way to check what's running on the browser is to grab the screenshots and validate the output.

Cosmetic bugs like the location of a web element and color of a web element may get missed while running the tests in headless mode.

Cosmetic bugs like the location of a web element and color of a web element may get missed while running the tests in headless mode.

Runtime Changeable: No