I have problem in send the http authentication username and password. I can't use this pattern "https://username:password@url.com" because the website doesn't ask me about the authentication in entry page and after go to signIn page and enter email and press submit button, then I receive http authentication popup. I need to send username and password in this section. can anyone help me?
this is my code and after this I need to pass http authentication.
await driver.wait(until.elementLocated(emailBoxSelector, 10000));
let emailBox = await driver.findElement(emailBoxSelector);
let emailInput = await driver.wait(until.elementIsVisible(emailBox), 10000);
await emailInput.sendKeys("exampleEmail@gmail.com");
let signInBtnSelector = By.css('div.mt-6 button[data-testid="submit"]');
await driver.wait(until.elementLocated(signInBtnSelector, 10000));
let signInBtn = await driver.findElement(signInBtnSelector);
await driver.wait(until.elementIsVisible(signInBtn), 10000).click();```
in need to pass http authentication after this code.