--- title: "위치 정보 (지오로케이션)" slug: "geolocation" updated: 2025-06-12T11:54:58Z published: 2025-06-12T11:54:58Z canonical: "helpcenter.autify.com/geolocation" --- > ## 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. # 위치 정보 (지오로케이션) 일부 웹사이트에서는 사용자의 위치 정보 접근 권한을 요청합니다. 이 기능은 지도 표시, 주변 매장 검색, 배송 가능 여부 확인 등에 사용됩니다. ![](https://cdn.document360.io/c040854c-2c75-49d0-98e1-43f462e8657e/Images/Documentation/New_design(1).png?sv=2026-02-06&spr=https&st=2026-11-16T23%3A05%3A28Z&se=2026-11-17T00%3A05%3A28Z&sr=b&sp=r&sig=IbyIzwF2tLE2MqDXKbjId6FSYw1IHu%2Bbi%2BMJbWUIfb4%3D) ## 설정 방법 1. 위치 정보 접근 권한 부여 위치 데이터를 시뮬레이션하기 전에, 브라우저에서 **위치 정보 접근을 허용**해야 합니다. 허용 방법에 대해서는 [**"권한 부여"**](/v1/docs/ko/granting-permissions) 섹션을 참고해 주세요. 사용할 권한 설정 예시: ```json {  "permissions": ["geolocation"] } ``` 2. 테스트에 사용할 위치 설정하기 시뮬레이션하고 싶은 위치의 **위도(latitude)**와 **경도(longitude)**를 확인하세요.[https://plus.codes/map와](https://plus.codes/map와) 같은 사이트를 활용할 수 있습니다. 예시: 도쿄 타워의 좌표 ```json latitude: 35.658563 longitude: 139.745437 ``` - 위도: 35.658563 - 경도: 139.745437 3. Playwright 코드 스텝 추가 웹사이트에서 위치를 감지하기 **전에**, 아래 Playwright 코드 스텝을 추가하세요. ```typescript await context.setGeolocation({ latitude: 35.658563, longitude: 139.745437 }); ``` ### 추가 설정 (선택 사항) - 필요 시, **정확도(accuracy)**를 미터 단위로 설정할 수 있습니다. ```typescript await context.setGeolocation({  latitude: 35.658563,  longitude: 139.745437,  accuracy: 100 }); ``` - 위치 정보를 사용할 수 없는 상황을 시뮬레이션하려면 `null` 값을 전달하세요. ```typescript await context.setGeolocation(null); ```