Skip to main content

Advance Browser Settings

Ines avatar
Written by Ines
Updated over 2 weeks ago

Prerequisites:

  • Existing Test Project

  • Existing Test Case

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

  • Click on the advanced settings button

  • Scroll to see and change the advanced settings

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 0.4 as value for device scale factor

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

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.

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).

Security and network

The security and network settings relate to HTTP credentials, that get used for authenticating to the targeted website during the test execution.

Example: Using HTTP credentials

The HTTP credentials works only if the targeted website support it.

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

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.

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?