cnishina on selenium4
chore(release): bumpb version t… (compare)
Hey guys, I have a problem with running my script. For some reason node_modules folder in my App Data folder is being targeted instead of the one in my project folder when using VS Code terminal. Also it keeps saying my chromedriver is outdated even though i updated it globally and locally.
Using Protractor with Jasmine
Any help would be appreciated
navBarGrupos = new NavBarGrupos();
await navBarGrupos.clickOnCrieNovoGrupo();
grupoUpdatePage = new GrupoUpdatePage();
grupoCabecalhoPage = new GrupoCabecalhoPage();
await grupoUpdatePage.setNomeInput('nome'),
await grupoUpdatePage.setDescricaoInput('descricao')
This is my PO:
getTableHeaders() {
const tableHeaders = [];
element.all(by.css('.mat-header-cell button')).then(elements => {
elements.forEach(el => {
el.getText().then((header: string) => {
console.log(header);
tableHeaders.push(header.toUpperCase());
});
});
}).then(() => {
return tableHeaders;
});
}
cant i return the array?