Question on Python (selenium / getattr)?

Hi, could you tell me how to access using selenium to the attribute "contentEditable" received from WebElement by xpath:

Also do not quite understand how getattr works in this design:
current_table = db.Table(table_n, metadata, autoload=True, autoload_with=engine)
 for i, column in enumerate(table_h):
 c = column.upper()
 query =[current_table]).where(
 getattr(current_table.columns, c) == table_i[0].split(';')[i])
April 7th 20 at 11:57
1 answer
April 7th 20 at 11:59
As I understand it .getattr() is a reference to the attribute of the object, not the url of the item.
Try to find, you are interested in webelement, and to access its attribute as follows:

Find more questions by tags PythonSelenium