create session 参数介绍

Create Session

alias, url, headers={}, cookies=None, auth=None, timeout=None, proxies=None, verify=False

创建一个HTTP会话:

url:即服务器的url

alias:使用Robot Framework的别名表示当前会话。

header:使用默认的headers字段

auth:NTLM鉴权需用username&password格式

timeout:会话超时时长

proxies:代理服务器的url

verify:如果需要证书请求则置为true

示例:

原文地址:https://www.cnblogs.com/chengchengla1990/p/9883786.html