获取元素标签的内容:
get_attribute(‘textContent’)
获取元素内的全部HTML:
get_attribute('innerHTML')
获取包含选中元素的HTML:
get_attribute('outerHTML')