Skip to content
TestsigmaDOCS

Desired Capabilities

Automating Basic Authentication in Safari

Prerequisites

Before you begin, ensure that you have referred to:


  1. Navigate to Basic Auth Header Generator.

  2. Enter your username and password to generate the Authorization Header.

    Auth Header


  1. On the Test Case Details page, click Run. Run

  2. In the Ad-Hoc Run overlay,

    • Select available macOS, Version, Browser, and Resolution. Machine, Ver, Browser & Resol

    • Enter testsigma.customHeaders in the Key field, select String as Data type, and set the Value as per the generated Authorization Header. Desired Capabilities

      Value Format: { "Authorization": "Basic <token>" }

  3. Click Run Now to execute the test case. Execute Test

  4. After execution completes, refer to the screenshot captured at the test step level. Screenshot of Execution