def bind_row_anchor_column(column_name):
 def decorator(method):
  @functools.wraps(method)
  def wrapper(table, row):
   cell = row.cells[column_name]
   action_element = cell.find_element(by.By.CSS_SELECTOR, ('td.%s > a' % NORMAL_COLUMN_CLASS))
   return method(table, action_element, row)
  return wrapper
 return decorator

def bind_row_anchor_column ( column_name ) : def decorator ( method ) : @ functools . wraps ( method ) def wrapper ( table , row ) : cell = row . cells [ column_name ] action_element = cell . find_element ( by . By . CSS_SELECTOR , ( 'td.%s > a' % NORMAL_COLUMN_CLASS ) ) return method ( table , action_element , row ) return wrapper return decorator
a decorator to bind table region method to a anchor in a column .