mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-10 04:00:23 +08:00
改错别字
This commit is contained in:
parent
78554f8145
commit
d2df6b041e
@ -87,7 +87,7 @@ class DriverElement(DrissionElement):
|
|||||||
return format_html(re_str.strip('\n '), False)
|
return format_html(re_str.strip('\n '), False)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def row_text(self) -> str:
|
def raw_text(self) -> str:
|
||||||
"""返回未格式化处理的元素内文本"""
|
"""返回未格式化处理的元素内文本"""
|
||||||
return self.inner_ele.get_attribute('innerText')
|
return self.inner_ele.get_attribute('innerText')
|
||||||
|
|
||||||
|
@ -83,7 +83,7 @@ class SessionElement(DrissionElement):
|
|||||||
return format_html(re_str, False)
|
return format_html(re_str, False)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def row_text(self) -> str:
|
def raw_text(self) -> str:
|
||||||
"""返回未格式化处理的元素内文本"""
|
"""返回未格式化处理的元素内文本"""
|
||||||
return str(self._inner_ele.text_content())
|
return str(self._inner_ele.text_content())
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user