Estoy tratando de verificar que un
se muestra en rojo, no puedo acceder a la propiedad de color css y cuando trato de usar ele.getCSSProperty("color"), el valor es [objeto objeto] por alguna razón
let alert = await $("#newPass-help-block"); let alertExist = await alert.isExisting(); let sAlert = await $("#serverError"); let sAlertExist = await sAlert.isExisting(); if (sAlertExist == true) { const sAlertColor = await sAlert.getCSSProperty("color") console.log("Your password either is the same as your username"); console.log("or is the same as your last 5 passwords"); console.log(sAlertColor); } else if (alertExist == true) { const alertColor = await alert.getCSSProperty("color") console.log("Invalid Password"); console.log(alertColor); if (invalidPass.length<8) { console.log("Password length is not meeting the requirements"); } else{ console.log("Password most contain letters numbers and symbols"); } }la propiedad de color rgba aparece en el terminal pero no en el registro de la consola
[0-0] 2022-05-27T15:24:03.965Z INFO webdriver: RESULT rgba(255, 12, 62, 1)