获取cookie脚本

Create Http Context ${server} scheme=http  

Set Request Header User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.6 Safari/537.36  

Set Request Header  Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8  

HttpLibrary.HTTP.GET /  

${cookie} Get Response Header Set-Cookie  

${cookie}  Evaluate${cookie}[0] 

${cookie}  Fetch From Left${cookie}; Path=/safety/; HttpOnly

你可能感兴趣的:(获取cookie脚本)