@JTable based on cell = .//table//tr[{0}]/td[{1}] message format locator ignores single quotation marks (')
- Dominant language
- Java
- Stars
- 145
- Forks
- 106
- PR merge metrics
- No merged PRs in 30d
Description
@JTable(headers = @FindBy(css = ".public_fixedDataTable_header [class *= 'cellContent']"),
root = @FindBy(css = ".fixedDataTableLayout_rowsContainer"),
cell = @FindBy(xpath = "((//*[contains(@class, 'public_fixedDataTable_bodyRow')])[{0}]//*[contains(@class, 'cellContent')])[{1}]"),
header = {"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"})
public Table table2;
See the log:
56:08.203 INFO: Get value for Cell 'Cell' (Table.Cell; By.cssSelector: .fixedDataTableLayout_rowsContainer; xpath='((//*[contains(@class, public_fixedDataTable_bodyRow)])[1]//*[contains(@class, cellContent)])[1]')
As you can see single quotation marks are ignored. In that case locator finds - HEAD HTML element
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.