mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-10 04:00:23 +08:00
微调
This commit is contained in:
parent
cf7d76b040
commit
3821338d26
@ -53,10 +53,7 @@ class DriverElement(DrissionElement):
|
|||||||
names+=")"
|
names+=")"
|
||||||
return names;
|
return names;
|
||||||
'''
|
'''
|
||||||
attrs = dict()
|
return {attr: self.attr(attr) for attr in eval(self.run_script(js))}
|
||||||
for attr in eval(self.run_script(js)):
|
|
||||||
attrs[attr] = self.attr(attr)
|
|
||||||
return attrs
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def text(self) -> str:
|
def text(self) -> str:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user