diff options
| author | guowenzheng <[email protected]> | 2024-11-18 10:23:34 +0800 |
|---|---|---|
| committer | guowenzheng <[email protected]> | 2024-11-18 10:23:34 +0800 |
| commit | 3c906feba8a9d4320d74eab564a6a02a8853c638 (patch) | |
| tree | 03f085b4269182f1576ed7ff942c92724623ecc0 /page_element | |
| parent | e6106ab24f8042fedb66186e14cd270f83a035b7 (diff) | |
元素定位逻辑修改
Diffstat (limited to 'page_element')
| -rw-r--r-- | page_element/ln_objects_element_position.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/page_element/ln_objects_element_position.py b/page_element/ln_objects_element_position.py index d7929162..801bfe38 100644 --- a/page_element/ln_objects_element_position.py +++ b/page_element/ln_objects_element_position.py @@ -27,7 +27,7 @@ listPage_object_APNs_select_First_object_posXpath = '(//span[@class="MuiCheckbox listPage_object_APNs_select_Second_object_posXpath ='(//span[@class="MuiCheckbox-root MuiCheckbox-variantOutlined MuiCheckbox-colorNeutral MuiCheckbox-sizeMd MuiDataGrid-checkboxInput css-q3lb41"]//input)[2]'#列表中第二行数据前的复选框!!!!! listPage_object_APNs_No_Data_posXpath = '//div[@class="MuiDataGrid-overlay css-14349d1"]' #列表页No Data按钮!!!!! listPage_object_APNs_reference_count_posXpath='(//div[@data-field="reference_count"]/button)[1]' #列表中第一个元素的reference count!!!!! -listPage_object_APNs_first_row_id_posXpath = "//div[contains(@class,'el-table__body-wrapper')]//tr[1]//td[count(//div[@class='el-table__header-wrapper']//span[text()='ID']/../../../preceding-sibling::th)+1]//div[@class='table-status-item-id']//span" +listPage_object_APNs_first_row_id_posXpath = '//div[@aria-rowindex="2"]//div[@data-field="uuid"]' listpage_object_APNs_select_first_group_posXpath = '(//i[@class="iconfont color-ip icon-APNgroup css-lp3td5"]/ancestor::div[@class="css-16m40q9 MuiDataGrid-cell MuiDataGrid-cell--textLeft"]/preceding-sibling::div[2]//input)[1]' #APN Create&Edit页 apn_Objectpage_ln_select_statistics_input_posXpath = "//div[@class='apn-object-statistics_option']" |
