agentscope-ai / agentscope-ai/agentscope-runtime
[Question] How to set custom headers and read cookie information to maintain login status in a browser sandbox
未關閉
question
- 主要語言
- Python
- 星號
- 863
- 分支
- 168
- PR 合併指標
- 30 天內沒有已合併 PR
描述
I noticed that BrowserSandbox does not provide tools for custom headers or reading cookies. How can these functionalities be implemented?
and I see BrowserSandbox has attribute "timeout", what it means and how can I change "timeout"
class BrowserSandbox(GUIMixin, BaseSandbox):
def __init__( # pylint: disable=useless-parent-delegation
self,
sandbox_id: Optional[str] = None,
timeout: int = 3000,
base_url: Optional[str] = None,
bearer_token: Optional[str] = None,
sandbox_type: SandboxType = SandboxType.BROWSER,
):
貢獻指南
評估
這個 Issue 還沒有評估資料。