• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

테스트자동화

DeprecationWarning: executable_path has been deprecated 해결하기

기존에는 아래와 같이 "chromedriver경로" 에 로부터 크롬 드라이버 최신 버전을 다운받아 크롬 웹 드라이버를 실행하고 있었습니다. 그런데 어느 순간부터 pytest 실행 시 아래와 같은 warning이 뜨기 시작했습니다. DeprecationWarning: executable_path has been deprecated, please pass in a Service object we...

python테스트자동화seleniumpytestpytest

GPS 위치 정보 설정 : Emulation.setGeolocationOverride

우선, OS에서 GPS 위치 설정하려는 브라우저에 대해 위치 서비스 활성화가 되어있어야 합니다. MacOS의 경우, 시스템 환경설정 > 보안 및 개인 정보 보호 > 개인 정보 보호 > 위치 서비스 에서 설정할 수 있습니다. GPS 위치 정보를 조작하려면, 좌표정보(위도/경도)와 정확도를 딕셔너리에 담아 CDP(Chrome DevTools Protocol) API에서 명령어를 실행해야 합니다....

pythonpytestselenium테스트자동화pytest

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more