File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
java/client/src/org/openqa/selenium/htmlunit Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1395,7 +1395,7 @@ public void deleteCookieNamed(String name) {
1395
1395
CookieManager cookieManager = getWebClient ().getCookieManager ();
1396
1396
1397
1397
URL url = getRawUrl ();
1398
- Set <com .gargoylesoftware .htmlunit .util .Cookie > rawCookies = cookieManager .getCookies (url );
1398
+ Set <com .gargoylesoftware .htmlunit .util .Cookie > rawCookies = getWebClient () .getCookies (url );
1399
1399
for (com .gargoylesoftware .htmlunit .util .Cookie cookie : rawCookies ) {
1400
1400
if (name .equals (cookie .getName ())) {
1401
1401
cookieManager .removeCookie (cookie );
@@ -1423,7 +1423,7 @@ public Set<Cookie> getCookies() {
1423
1423
}
1424
1424
1425
1425
return ImmutableSet .copyOf (Collections2 .transform (
1426
- getWebClient ().getCookieManager (). getCookies (url ),
1426
+ getWebClient ().getCookies (url ),
1427
1427
htmlUnitCookieToSeleniumCookieTransformer ));
1428
1428
}
1429
1429
You can’t perform that action at this time.
0 commit comments