[Enhancement] setup_storage_state 및 GetProfile 함수를 비동기 처리로 변경

This commit is contained in:
imnyang 2025-06-15 22:37:35 +09:00
commit 7ae5834d82
3 changed files with 5 additions and 6 deletions

View file

@ -2,11 +2,10 @@ from lib.utils.browser_use.func import *
# Initialize configuration
proxy_url = setup_proxy()
storage_state_path = setup_storage_state()
# Create browser profile
def GetProfile():
setup_storage_state()
async def GetProfile():
storage_state_path = await setup_storage_state()
profile = BrowserProfile(
# Security settings
disable_security=True,