agentscope-ai / agentscope-ai/agentscope-runtime
[Question] How to set custom headers and read cookie information to maintain login status in a browser sandbox
- Lingua principale
- Python
- Stelle
- 863
- Fork
- 168
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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,
):
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.