标签: c# selenium
答案 0 :(得分:0)
使用此代码:
Set<Cookie> cookie = driver.manage().getCookies(); for(Cookie c : cookie){ //write each cookie to your file. }