tdrpa.tdworker 1.2.11.6__py38-none-win_amd64.whl → 1.2.11.7__py38-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
tdrpa/tdworker/_web.pyi CHANGED
@@ -124,7 +124,7 @@ class Web:
124
124
  :return:所有目标元素的tdrpa_element_id列表
125
125
  '''
126
126
  @staticmethod
127
- def GetAttribute(target: str | dict, onlyvis: bool = False, index: int = None, fromElementTdid: str = None, attrname: str = 'class', continueOnError: bool = False, delayAfter: int = 100, delayBefore: int = 100) -> str | None:
127
+ def GetAttribute(target: str | dict, onlyvis: bool = False, index: int = None, fromElementTdid: str = None, attrname: str | list | None = 'class', continueOnError: bool = False, delayAfter: int = 100, delayBefore: int = 100) -> str | None | dict:
128
128
  '''
129
129
  获取网页元素属性值
130
130
 
@@ -134,11 +134,11 @@ class Web:
134
134
  :param onlyvis: [可选参数]仅匹配可见元素。默认False
135
135
  :param index: [可选参数]元素索引。None:忽略索引,int:索引为整数时,从1开始算索引。 target为tdrpa_element_id时会自动忽略此参数。默认None
136
136
  :param fromElementTdid: [可选参数]从哪个元素开始查找(注意:当target为tdSelector获取的特征码时该参数才有效)。None:从当前页面开始查找。tdrpa_element_id:从该元素开始查找。默认None
137
- :param attrname: [可选参数]属性名。默认为\'class\'
137
+ :param attrname: [可选参数]属性名。str类型时:指定单个属性值,list类型时:指定多个属性名,None时:所有属性名。默认\'class\'
138
138
  :param continueOnError:[可选参数]是否在发生错误时继续执行。默认为False。
139
139
  :param delayAfter:[可选参数]执行后延时(毫秒)。默认100。
140
140
  :param delayBefore:[可选参数]执行前延时(毫秒)。默认100。
141
- :return:属性值字符串, 没有该属性时返回None
141
+ :return:属性值字符串或属性键值字典, 没有指定属性名时,其值是None
142
142
  '''
143
143
  @staticmethod
144
144
  def GetCheck(target: str | dict, onlyvis: bool = False, index: int = None, fromElementTdid: str = None, continueOnError: bool = False, delayAfter: int = 100, delayBefore: int = 100) -> bool | None:
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tdrpa.tdworker
3
- Version: 1.2.11.6
3
+ Version: 1.2.11.7
4
4
  Summary: tdworker for tdrpa developers. supports python3.8+, windows x64
5
5
  Home-page: https://gitee.com/tdworker/command/wikis
6
6
  Author: vx:RPA_CREATOR
@@ -1,4 +1,4 @@
1
- tdrpa/tdworker.cp38-win_amd64.pyd,sha256=1IaI54OCVzaL0iuXPheqz-vEcvkHP0sZTmrRCld2H3Y,4209152
1
+ tdrpa/tdworker.cp38-win_amd64.pyd,sha256=1nsSeAgnm9d9WJP6B0GMpeg2iLzBrWG9ENBg7llPDEU,4238848
2
2
  tdrpa/_tdxlwings/__init__.py,sha256=mxmqGWQ7xFb6e1GqkKEBfMQtZ8YyO4kAcPOvcJnD_2k,4424
3
3
  tdrpa/_tdxlwings/_win32patch.py,sha256=_IxTfvj663osTXh8b1S-A_N4PthS9gEWFLjpY4V0iUA,3443
4
4
  tdrpa/_tdxlwings/_xlmac.py,sha256=23OusKchbqglFi1s909tbB9fIwoFj6Yny4GiYrsnx5s,68521
@@ -89,11 +89,11 @@ tdrpa/tdworker/_img.pyi,sha256=f1FZQYHSItcjbtQ09LrXrD7IzUXWpOfe7Tu-J-9heuk,26375
89
89
  tdrpa/tdworker/_os.pyi,sha256=cK2UJk6pM8piWA2Mkx3j1v0i5vYlttaiGvm62yaPhzc,2274
90
90
  tdrpa/tdworker/_sp.pyi,sha256=OwKyMzbxhTvjXcHBx-w_6et1hdlJTPyHMpC8DHjWW4Q,635
91
91
  tdrpa/tdworker/_w.pyi,sha256=ZwyIk5cLv8Rd0KpshdZSJ9EIN0XYMHYCARw31pvrzys,5229
92
- tdrpa/tdworker/_web.pyi,sha256=faOuPViaLYLMy5Htdc0aHR7hqsu1HDNAPN2KS7xiJxE,67128
92
+ tdrpa/tdworker/_web.pyi,sha256=Qq_HHuI3AmrvY2tR2v6siYgm7fg212CTYb7bQaYgSXs,67286
93
93
  tdrpa/tdworker/_winE.pyi,sha256=s5IHyB4zLyshyvcPEEjaY-Vdyy02E1fnECASzXUsFZY,17557
94
94
  tdrpa/tdworker/_winK.pyi,sha256=lH1_smTsfHQVDaREOy37cb1Ied8zlKo6Q20oc1GXBGc,5407
95
95
  tdrpa/tdworker/_winM.pyi,sha256=E_PJm6cLgpkqy7fcD6CMNlSS31xVmE1N31DP1Cj47yI,7938
96
- tdrpa.tdworker-1.2.11.6.dist-info/METADATA,sha256=Vhm73LFaeGyFWt4cqROu_pkwVH9ZLC8m_GhfL9m_9Gg,964
97
- tdrpa.tdworker-1.2.11.6.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
98
- tdrpa.tdworker-1.2.11.6.dist-info/top_level.txt,sha256=S9UoqmC_cyGqKbGsBkLQPEeQLbDrWD0SRwbxPpQpyyU,6
99
- tdrpa.tdworker-1.2.11.6.dist-info/RECORD,,
96
+ tdrpa.tdworker-1.2.11.7.dist-info/METADATA,sha256=bcJ-UaNscAnNpSOUBebFZEDyHdYThX1Mll03gHT1hjs,964
97
+ tdrpa.tdworker-1.2.11.7.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
98
+ tdrpa.tdworker-1.2.11.7.dist-info/top_level.txt,sha256=S9UoqmC_cyGqKbGsBkLQPEeQLbDrWD0SRwbxPpQpyyU,6
99
+ tdrpa.tdworker-1.2.11.7.dist-info/RECORD,,