Skip to content

Commit

Permalink
make 2 top logs debug log (#629)
Browse files Browse the repository at this point in the history
  • Loading branch information
wintonzheng authored Jul 20, 2024
1 parent 1ebd8a5 commit 3e8ac05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skyvern/webeye/utils/page.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async def take_screenshot(
) -> bytes:
try:
await page.wait_for_load_state(timeout=SettingsManager.get_settings().BROWSER_LOADING_TIMEOUT_MS)
LOG.info("Page is fully loaded, agent is about to take screenshots")
LOG.debug("Page is fully loaded, agent is about to take screenshots")
start_time = time.time()
screenshot: bytes = bytes()
if file_path:
Expand All @@ -57,7 +57,7 @@ async def take_screenshot(
animations="disabled",
)
end_time = time.time()
LOG.info(
LOG.debug(
"Screenshot taking time",
screenshot_time=end_time - start_time,
full_page=full_page,
Expand Down

0 comments on commit 3e8ac05

Please sign in to comment.