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 还没有评估数据。