def dt_data_item(row=1, column=1, tableID='datatable'):
 config = current.test_config
 browser = config.browser
 td = (".//*[@id='%s']/tbody/tr[%s]/td[%s]" % (tableID, row, column))
 try:
  elem = browser.find_element_by_xpath(td)
  return elem.text
 except:
  return False

def dt_data_item ( row = 1 , column = 1 , tableID = 'datatable' ) : config = current . test_config browser = config . browser td = ( ".//*[@id='%s']/tbody/tr[%s]/td[%s]" % ( tableID , row , column ) ) try : elem = browser . find_element_by_xpath ( td ) return elem . text except : return False
returns the data found in the cell of the datatable .