jeudi 4 février 2016

Protractor: Change style of a column header

I'm here to ask you guys if there's anyway to change the property of a column header to be visible.

Here is the code I am using:

var column = element.all(by.repeater('col in vm.wijmoConfig.columns').row(2));
browser.executeScript('arguments[0].style = {};', column.getWebElement());

But the only thing I get is this error:

column.getWebElement is not a function.

And if I don't use .getWebElement() I get this error :

Maximum Call Stack Size Exceeded

I'm so lost, please someone help me.

Aucun commentaire:

Enregistrer un commentaire