Currently there are couple links that suppose to help with this task: general(1) and specific(2) approached.
However (1) does not contain any code to start with and (2) contains only js one-liner.
My question is how to get values from extjs-generated row cells?
For example, I've row element
div#ext-gen-list-057-r.x-grid3-row.grid-rowcolor-black.grid-fontweight-normal.grid-fontstyle-normal.recordListRow.TableEvenRow.x-grid3-row-first.x-grid3-row-focus
where cells are represented like
td.x-grid3-col.x-grid3-cell.x-grid3-td-0.x-grid3-cell-first
How do I get it's values using python and selenium webdriver?
UPD
After some search there are few details revealed:
- Seems like
browser.find_element(By.ID, 'element-id')
will simply not work for ExtJS webpage as soon asdocument.getElementById('element-id')
isnull
(correct me if it's wrong) - Proper way of getting Ext page is
Ext.getBody('body-element-id')
However, there is no such method for Select
in selenium.webdriver.support.ui
that will allow to access body elements.
Thus, the issue has not yet been resolved.