Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
remove cookies
Browse files Browse the repository at this point in the history
  • Loading branch information
cdmikechen committed Aug 12, 2023
1 parent d220886 commit 2cc303b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ protected static PostMethod httpPost(String path, String request, String mediaTy
PostMethod postMethod = new PostMethod(URL + path);
postMethod.setRequestBody(request);
postMethod.setRequestHeader("Content-type", mediaType);
//postMethod.getParams().setCookiePolicy(CookiePolicy.IGNORE_COOKIES);

if (userAndPasswordAreNotBlank(user, pwd)) {
postMethod.setRequestHeader("Authorization", "Bearer " + createToken(user, pwd));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,9 @@
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.openqa.selenium.By;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.Keys;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.TimeoutException;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.ExpectedConditions;
Expand Down

0 comments on commit 2cc303b

Please sign in to comment.