Skip to main content

Advanced Browser Settings

Written by Ines

Overview

Advanced browser settings in Thunders allow you to alter the behavior of the browser during the test execution. This guide will take you through the different advanced browser settings, their impact and how to use them.

How to access the advance settings

  • Go to an existing test case

  • Find the button with cogs icon next to browser settings

The Advanced button next to the browser settings of a Test Case
  • Click on the advanced settings button

The advanced settings panel open below the browser settings
  • Scroll to see and change the advanced settings

HTTPS certificate

HTTP Certificate setting is used to allows browser to bypass SSL/TLS certificate error

The HTTPS certificate switch

Browser dark mode

Browser dark mode setting is used to enable the dark theme in the browser

The Browser dark mode switch

Stealth mode

Stealth mode setting is used to avoid bot/robot detection mechanisms

The Stealth mode switch

JavaScript

JavaScript setting either enables or disable the JavaScript execution in the tested website during the test execution, for certain steps having JavaScript enabled is required and thus it is enabled by default.

The JavaScript switch, turned on

Element Highlighting

Element Highlighting setting is used to indicate the interacted with element with red rectangle or red dot

The Element Highlighting switch, turned on

Display and appearance settings

Device scale factor

Device Scale Factor is used to define ratio between physical pixels and user interface pixels on a device's screen. You can consider it as pixel density, the higher it is the better the quality and slower the performance and vice-versa.

Example: Using 4 as value for device scale factor

The Device Scale Factor field set to 4

Forced colors

Forced color setting is used to enforce user-chosen limited color palette on the page, an example of forced colors is Windows High Contrast mode. Using this setting will change the color scheme of the tested website.

We support two values for Forced colors settings

  • None: No color palette is enforced

  • Active: High contract mode is enforced

Example: Showing website with forced colors

The Forced Colors field set to Active

Locale

Locale settings emulates the user locale, its value should respect the BCP-47 language code. An example would be: en-US, fr-FR, es-ES, nl-BE etc. Changing this value may lead to displaying the targeted website in the chosen language (although that depends on whether the website support multiple language or not).

The Locale field with the fr-FR language code

Security and network

The security and network settings hold the HTTP credentials and the proxy that the run uses to reach the targeted website.

HTTP Credentials

The HTTP Credentials fields hold the user name and the password that the run uses to sign in to the targeted website. They work only if the targeted website supports HTTP authentication.

The HTTP Credentials fields in the Security & Network section

Proxy

The Proxy field sends the traffic of the run through a proxy server. You find it in the Security & Network section of the advanced settings, below HTTP Credentials. The same field is also in the Web Run Settings of an Environment, in the Recorder settings, and when you capture an Authenticated Profile.

  1. Open the advanced settings and scroll to Security & Network.

  2. In Proxy, paste the connection string that your proxy provider gives you, for example http://user:[email protected]:8080.

The address uses the format [scheme://][user:password@]host:port.

  • The scheme is http, https, socks4 or socks5. Without a scheme, Thunders uses http.

  • The port is required. A path after the port is not accepted.

  • The user name and the password are optional.

  • A link-local address, such as 169.254.169.254, is not accepted. A password without a user name is not accepted.

When you save the settings of a Test Case with an address that is not valid, Thunders shows The proxy address is not valid. followed by the reason. The field hides its value, and Thunders stores it encrypted. If the proxy refuses the user name or the password, the run fails.

HTTP Headers

We can enrich the used headers during the test execution by adding custom ones.

Custom headers

Using the custom headers we can expand the list of sent headers to include custom ones.

A custom HTTP header with the Add Custom Header button

The HTTP credentials are not encrypted across network, therefore ensure you are using sure HTTP credentials with website through a HTTPS connection.

Tips for Effective advanced browser settings combination

  • Keep the JavaScript setting active unless the test case require otherwise

  • Combine Device scale factor and Forced colors settings to change the color palette used in user interface

Did this answer your question?