[Java][Tables] NullPointerException at attempt to get text from the table's cell
Aks1389 opened this issue · 1 comments
Aks1389 commented
@JTable(jRoot = @JFindBy(xpath = "//table"),
jRow = @JFindBy(xpath = ".//tbody/tr[%s]"),
jColumn = @JFindBy(xpath = ".//tbody/tr/td[%s]"),
jCell = @JFindBy(xpath = ".//tbody//tr[{1}]/td[{0}]"),
jHeaders = @JFindBy(xpath = ".//thead//tr/td"))
private ITable table;
table.cell(4, 5).getText() - causes NPE, beacuse locator is lost somewhere
Aks1389 commented
fixed in v1.0.99