본문 바로가기
QA/Test Automation

[Appium] Screenshot 구현

by 화뉘 2021. 3. 16.

save_screenshot()

from selenium import webdriver
driver.save_screenshot('sample_screenshot_1.png')


get_screenshot_as_file()

from selenium import webdriver
driver.get_screenshot_as_file('sample_screenshot_2.png')

 

댓글