---
sourceDocument: Brazil Build or modify applications
sourceDocumentLink: https://www.servicenow.com/docs/r/application-development

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Headless Browser setup for Microsoft Windows

# Headless Browser setup for Microsoft
Windows {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Headless Browser setup for Microsoft Windows

The ServiceNow® Headless Browser for Automated Test Framework (ATF) enables automated testing without manually opening a browser.
This setup guide focuses on configuring the Headless Browser on Microsoft Windows, specifically Windows Server 2019 version 10.0.17763.737, which is the only supported Windows host version.
Note that Headless Browser is a legacy feature; ServiceNow recommends using the ATF Test Generator and Cloud Runner app for cloud instances, while on-premise users must continue with Headless Browser since Cloud Runner is not available for on-premise environments.
Show full answer Show less  

## Prerequisites

* MFA must be disabled on your ServiceNow instance.
* Required roles: admin on the ServiceNow instance and local administrator on the Windows host machine.
* Supported OS: Windows Server 2019 v10.0.17763.737 only; otherwise, Linux is recommended.
* Required software installed on the Windows server:
  * Docker
  * Java keytool (installable via Chocolatey)
  * OpenSSL (installable via Chocolatey)
* Two-way network communication must be established between the ServiceNow instance and the Windows server. This includes:
  * Using the server's IP address or hostname (at least one must be accessible from the instance)
  * Allowing inbound firewall access on port 2376 (or custom port) from the ServiceNow instance's IP address ranges
  * Configuring TLS/HTTPS to secure Docker daemon communication

## Setup Steps

The Windows Headless Browser setup involves the following sequential steps:

1. **Install Docker:** Install Docker on the Windows server to enable containerization for the Headless Browser.
2. **Generate TLS/SSL Certificates:** Create certificates to secure Docker REST API communication and authenticate HTTP requests.
3. **Configure Docker Server:** Set Docker to authenticate all incoming requests using the generated certificates.
4. **Create Docker Image and Containers:** Pull the Headless Browser Docker image from the public registry and create the necessary containers.
5. **Add Docker Secrets:** Create a Docker secret to securely store the ServiceNow user password used for test execution within containers.
6. **Set Up ServiceNow Instance:** Configure your ServiceNow instance settings to support the Headless Browser functionality.
7. **Configure Automated Test Framework (ATF):** Set ATF properties to integrate with the Headless Browser setup.

## Verification

After completing the setup steps, verify that the Headless Browser configuration is successful and operational within your Microsoft Windows environment to ensure automated testing can proceed without manual browser interaction.  
The ServiceNow® Headless Browser for Automated Test Framework (ATF) provides automation so you can skip having to manually open a browser during testing. The Headless Browser setup is available in both Linux and Microsoft
Windows. This topic covers the setup for Windows.  
Important:  
Headless Browser is a legacy feature of ATF; it is recommended to instead use the ATF Test Generator and Cloud Runner application. Cloud Runner offers you an easy setup and a seamless user experience. You can install [Cloud Runner](https://store.servicenow.com/sn_appstore_store.do#!/store/application/db1676d7421441106f046193880e0b37) from the store app.
If you are an on-premise instance user, you must continue using the Headless Browser option. Cloud Runner is not currently available for on-premise instances. There are several sequential procedures to follow in the one-time setup. Below are the instructions for the Microsoft
Windows setup.

## Prerequisites {#headless-browser-procedure-windows__section_id2_wqk_jpb}

Note:  
MFA must be disabled in your instance to use the Headless Browser option.
Role required: admin on your ServiceNow instance and local administrator on the host machine.  
Warning:  
The only supported version of Microsoft Windows as a host is Windows Server 2019 v10.0.17763.737. No other versions are supported. If you are unable to meet these requirements, a Linux host is recommended.

* Make sure that the following programs are installed on your Windows server:
  * Docker: [Install Docker for Headless Browser setup for Microsoft Windows](https://www.servicenow.com/docs/UDpHU2AU7buQWLeUh1SJtQ "Step 1 in the Windows setup for the ServiceNow Headless Browser for Automated Test Framework: Install Docker.")
  * Java keytool: [Chocolatey tool for javaruntime](https://community.chocolatey.org/packages/javaruntime)
  * OpenSSL: [Chocolatey tool for openssl](https://community.chocolatey.org/packages/openssl)
  {#headless-browser-procedure-windows__ul_ec4_1vk_jpb}
* Two-way communication
  * There must be two-way communication between the instance URL and your server.
  * Find the IP address of your server and get your hostname. You can use one or both of them, but you need at least one. Make sure the address or hostname are visible from your ServiceNow instance.
  * See [My IP Address](https://support.servicenow.com/now/en/pages/automation-store?id=ns_automation_store&catalog_sys_id=b85d23ae6f086100a5117357ea3ee4f3) to find the IP address ranges of your instance. You can then configure your server to allow inbound access to all of the indicated IP addresses/ranges.
  * Use Port 2376 or your own default port for this procedure. Make sure your server's firewall rules allow inbound requests on this port from the IP addresses you get from the instance.

  {#headless-browser-procedure-windows__ul_frp_mzj_nsb}  
  Note:  
  If you don't have a hostname and are connecting via the IP address, you can enter the IP address and put "localhost" in the Hostname environment variable.
* To learn more, see [Use TLS (HTTPS) to protect the Docker daemon socket](https://docs.docker.com/engine/security/protect-access/#:~:text=Use%20TLS%20(HTTPS)%20to%20protect,to%20a%20trusted%20CA%20certificate.).
{#headless-browser-procedure-windows__ul_mts_5qk_jpb}

## Steps to set up the Headless Browser for Windows {#headless-browser-procedure-windows__section_ufq_rkj_5rb}

Follow these seven steps (plus verification) to set up the Headless Browser for Windows.
1. [Install Docker for Headless Browser setup for Microsoft Windows](https://www.servicenow.com/docs/UDpHU2AU7buQWLeUh1SJtQ)  
   Step 1 in the Windows setup for the ServiceNow® Headless Browser for Automated Test Framework: Install Docker.
2. [Generate certificates for Headless Browser setup for Microsoft Windows](https://www.servicenow.com/docs/O0QJXPSt_DbeZul1MogXdQ)  
   Generate TLS/SSL certificates to secure the Docker REST API and authenticate HTTP requests.
3. [Configure Docker for Headless Browser setup in Microsoft Windows](https://www.servicenow.com/docs/8gUCimQzaL4S~Xh_~AE~pA)  
   Configure Docker Server to authenticate all requests.
4. [Create the Docker image and containers for Headless Browser setup in Microsoft Windows](https://www.servicenow.com/docs/puv6fTYRdEtJCY6tgxi4dA)  
   Pull the Docker image from the Public Registry.
5. [Add secrets to Docker for Headless Browser setup in Microsoft Windows](https://www.servicenow.com/docs/O6G~qxXXBr40DKr2Fun85Q)  
   Create a Docker secret that stores the password of the ServiceNow user who will log into the instance to execute the tests. Docker Secrets is a feature of ServiceNow® for securely storing the passwords that will be used in containers.
6. [Set up instance for Headless Browser in Microsoft Windows](https://www.servicenow.com/docs/IMlgCai7SCCPW7lWjpyN5g)  
   Step 6 in the Microsoft Windows setup for the ServiceNow® Headless Browser for ATF: Set up your instance so it can support the Headless Browser.
7. [Configure Automated Test Framework (ATF) for Headless Browser in Microsoft Windows](https://www.servicenow.com/docs/A4EEsbjPK1GHQgpL5lU1SA)  
   Step 7 in the Microsoft Windows setup for the ServiceNow® Headless Browser for ATF: Configure ATF with properties.
8. [Verify Headless Browser procedures for ATF in Microsoft Windows](https://www.servicenow.com/docs/xkYLEvTMz4dsHJB8hWh2cA)  
   Verify that your Headless Browser setup procedures have been successful.

