agentscope-ai / agentscope-ai/agentscope-runtime

[Question] How to set custom headers and read cookie information to maintain login status in a browser sandbox

Aberta
#363 3 comentários 0 reações 0 responsáveis Ver no GitHub
question
Linguagem predominante
Python
Estrelas
863
Forks
168
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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,
):

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.