Dec-11-2019, 06:37 AM
Quote:[<selenium.webdriver.remote.webelement.WebElement (session="ebff9ddc3b927111b738557f1767aa58", element="d02991c8-c093-4d57-97e7-53b5bc8f75bd")>]
This is being return by your print statement,
stats = driver.find_elements_by_xpath("//*[@id='contentBody']/div[2]/table/tbody/tr[1]") print(stats)The above method will return all the possible elements which matches with the xpath you mentioned in list form. You can loop through that variable stats and print each element to see