본문 바로가기

Study_Note

검색하기
Study_Note
프로필사진 12월7일생

  • 분류 전체보기 (95)
    • selenium (with python) (9)
    • appium (with python) (1)
    • QA_study (14)
    • CSTS (46)
    • temp (25)
    • life (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
  • T아카데미
  • TTA 아카데미
«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Tags
  • 셀레니움
  • csts
  • RBT
  • agile
  • ISTQB
  • 품질
  • 테스트 케이스
  • 테스트
  • risk-based testing
  • regression test
  • 유지보수성 테스트
  • 애자일
  • 자동화
  • SQA
  • seleium
  • 테스트 설계 기법에 따른 분류
  • Software life cycle model
  • QA
  • testing method
  • maintainability test
  • test
  • testcase
  • Test Case
  • 비기능테스트
  • Python
  • 테스트케이스
  • selenium
  • 위험 기반 테스트
  • 파이썬
  • Testing
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록페이지 스크롤 (1)

Study_Note

selenium python : page scroll

파이썬을 이용하여 셀레니움을 이용한 페이지 스크롤 예시코드. from selenium import webdriver import time # 웹 드라이버 실행 driver = webdriver.Chrome() # 페이지 로드 driver.get("https://example.com") # 스크롤할 요소 식별 element = driver.find_element_by_tag_name("body") # 500픽셀 아래로 스크롤하는 함수 정의 def scroll_down(): script = "window.scrollTo(0, 500);" driver.execute_script(script) # 5번 스크롤하면서 1초씩 쉬기 for i in range(5): scroll_down() time.sleep(1) ..

selenium (with python) 2023. 4. 28. 17:04
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바