I want to get get the innerHTML from a element but when it run it get error say:
findtable.get_attribute('innerHTML')
AttributeError: 'list' object has no attribute 'get_attribute'
Code trials:
#findtable
findtable = driver.find_elements(By.XPATH, "/html/body/div[1]/div[2]/div[1]/div[2]/div[2]/div/table/tbody/tr[1]/td[1]/center/img")
findtable.get_attribute('innerHTML')