I can't seem to figure out how to return on integer from a table body. The terminal is returning a 'none' type and if I get rid of get.attribute("value") on line 10 nothing prints to the terminal.
from bs4 import BeautifulSoup as bs
import requests
from selenium import webdriver
driver = webdriver.Safari()
url = driver.get('http://wsn.spaceflight.esa.int/iss/index_portal.php')
#able to get element from web but returning 'none' value in terminal
latitude = driver.find_element_by_xpath('//tbody/tr[1]/td[2]/div')
print(latitude.get_attribute("value"))#something I tried, not working
driver.close()