--- title: "NTLM 인증을 지원하는 방법" slug: "how-to-handle-ntlm-authentication" updated: 2025-11-25T06:29:43Z published: 2025-11-25T06:29:43Z canonical: "helpcenter.autify.com/how-to-handle-ntlm-authentication" --- > ## Documentation Index > Fetch the complete documentation index at: https://helpcenter.autify.com/llms.txt > Use this file to discover all available pages before exploring further. # NTLM 인증을 지원하는 방법 이 페이지에서는 NTLM 인증을 사용하는 웹사이트의 테스트 처리 방법을 설명합니다. ## 설정 (Playwright 코드 스텝) NTLM 인증을 처리하려면 시나리오 시작 부분에 Playwright 코드 스텝을 추가하여 Chrome DevTools Protocol (CDP)을 통해 인증 정보를 자동으로 제공하도록 설정합니다. 다음 코드를 Playwright 코드 스텝으로 추가하십시오: ```typescript const username = "username" const password = "password" const cdp = await context.newCDPSession(page) cdp.on("Fetch.requestPaused", ({ requestId }) =>  cdp.send("Fetch.continueRequest", { requestId }) ) cdp.on("Fetch.authRequired", ({ requestId }) => {  cdp.send("Fetch.continueWithAuth", {    requestId,    authChallengeResponse: {      response: "ProvideCredentials",      username,      password    }  }) }) await cdp.send("Fetch.enable", { handleAuthRequests: true }) ``` 코드의 첫 번째와 두 번째 줄에 있는 `username`과 `password`를 고객이 지정한 실제 사용자 이름과 비밀번호로 바꾸십시오. ## 참고 및 제한 사항 > **사용자 이름에 백슬래시()가 포함된 경우** (예: `DOMAIN\user`), 코드에 `\\` (백슬래시 2개)를 작성하여 이스케이프 처리해야 합니다. > > (예: `const username = "DOMAIN\\user"` ) - **인증 정보 범위:** 이 코드 스텝에서 설정된 사용자 이름과 비밀번호는 이 시나리오 실행 중에 발생하는 모든 NTLM 인증 프롬프트에 자동으로 사용됩니다.