Skip to content

Commit

Permalink
replace with AUTHENTICATIONS_PROPERTY
Browse files Browse the repository at this point in the history
  • Loading branch information
marevol committed May 9, 2024
1 parent 6646535 commit 047f5db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ protected NewContextOptions initNewContextOptions() {
*/
protected BrowserContext createAuthenticatedContext(final Browser browser, final NewContextOptions newContextOptions) {
final Authentication[] authentications =
getInitParameter(HcHttpClient.BASIC_AUTHENTICATIONS_PROPERTY, new Authentication[0], Authentication[].class);
getInitParameter(HcHttpClient.AUTHENTICATIONS_PROPERTY, new Authentication[0], Authentication[].class);

if (authentications.length == 0) {
return browser.newContext(newContextOptions);
Expand Down

0 comments on commit 047f5db

Please sign in to comment.