Hi All,
I am seeing multiple folks are facing the problem on facing the pop pop to supply the credentials and I have followed the all recommendations by NewRelic but still facing the issue -
$browser.getCapabilities().then(function () {
log(1, ‘Login on’);
$browser.get(url1).then(function(){
return $browser.getAllWindowHandles();
}).then(function(handles) {
return $browser.switchTo().window(handles[1]);
$browser.sleep(5000)
$browser.findElement(By.id(“Username”)).sendKeys("");
});
$browser.findElement($driver.By.name(“Password”)).sendKeys("");
$browser.findElement($driver.By.name(“Sign in”)).click();
})
.then(function() {
return $browser.takeScreenshot();
})
Any help is much appreciable.