summaryrefslogtreecommitdiff
path: root/page_element/objects_element_position.py
diff options
context:
space:
mode:
authorguowenzheng <[email protected]>2024-10-23 19:14:47 +0800
committerguowenzheng <[email protected]>2024-10-23 19:14:47 +0800
commitacf6213445c81240d47dd4dc6131b151f0cd6489 (patch)
tree2108d3d57b6d59421522996eedd9253f5ec9fce2 /page_element/objects_element_position.py
parent6d0574b6678f4e759d5325f44fd6e83ef0aae998 (diff)
元素定位逻辑修改
Diffstat (limited to 'page_element/objects_element_position.py')
-rw-r--r--page_element/objects_element_position.py47
1 files changed, 26 insertions, 21 deletions
diff --git a/page_element/objects_element_position.py b/page_element/objects_element_position.py
index cc4fd697..13f8d938 100644
--- a/page_element/objects_element_position.py
+++ b/page_element/objects_element_position.py
@@ -95,7 +95,7 @@ mainPage_secondLevelMenu_APNs_posXpath = "//div[@class='MuiListItem-root MuiList
mainPage_secondLevelMenu_Application_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-application-object css-1l56wwh']"
mainPage_secondLevelMenu_Application_appGroups_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-app-group css-1l56wwh']"
mainPage_secondLevelMenu_Application_appSignatures_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-app-signature-object css-1l56wwh']"
-mainPage_secondLevelMenu_Application_customizedAttr_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-traffic-attribute css-1l56wwh']"
+mainPage_secondLevelMenu_Application_customizedAttr_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-traffic-attribute-object css-1l56wwh']"
mainPage_secondLevelMenu_Tunnel_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-tunnel-object css-1l56wwh']"
mainPage_secondLevelMenu_Flags_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-flag-object css-1l56wwh']"
mainPage_secondLevelMenu_Intervals_posXpath = "//div[@class='MuiListItem-root MuiListItem-gutters menu-interval-object css-1l56wwh']"
@@ -146,7 +146,7 @@ main_listPage_object_total_value_posXpath = '(//div[@class="flex-1 flex items-ce
##Object模块列设置
mainPage_ObjectSearch_Column_settings_posXpath = "//i[@class='iconfont icon-SetNormal text-[14px] text-[var(--color-text-disabled)]']"
mainPage_ObjectSearch_Column_settings_select_CheckBox_posXpath = "//input[@name='Show/Hide All']"
-mainPage_Object_Title_Name_posXpath = "//div[@class='MuiDataGrid-columnHeader MuiDataGrid-withBorderColor']//div[text()='Name']"
+mainPage_Object_Title_Name_posXpath = "//div[@class='MuiDataGrid-columnHeader MuiDataGrid-withBorderColor']//div[contains(text(),'Name')]"
mainPage_ObjectSearch_Column_settings_select_allCheckBox_posXpath = "//div[@class='MuiDataGrid-columnsManagementFooter css-1l93brk']//span[@class='MuiTypography-root MuiTypography-body1 MuiFormControlLabel-label css-1hhkft9']" # ALL选择框----------------
mainPage_ObjectSearch_Column_settings_click_Cancel_Button_posXpath = '//div[@class="choose-button"][1]//span[text()="Cancel"]' # 点击Cancel
mainPage_ObjectSearch_Column_settings_click_OK_Button_posXpath = '//div[@class="choose-button"][1]//span[text()="OK"]' # 点击OK
@@ -217,10 +217,10 @@ listPage_first_row_checkBox_posXpath = '(//td[@rowspan="1"and @colspan="1"]//spa
listPage_second_row_checkBox_posXpat = '(//td[@rowspan="1"and @colspan="1"]//span[@class="el-checkbox__inner"])[2]' # 列表页 第二行的checkBox
listPage_item_search_text_posXpath = '//input[@placeholder="Search"]'
listPage_item_search_total_text_posXpath = '//div[@class="text-[--color-text-disabled] h-[18px] mt-[6px] mb-[4px]"]'
-listPage_referenceCount_drawerList_ruleOrObject_posXpaths = '//div[@class="box-content"]//div[contains(@class,"el-dropdown-menu__item")]' # 列表页referenceCount侧滑页面中的所有rule或Object
+listPage_referenceCount_drawerList_ruleOrObject_posXpaths = '//tr[@class="MuiTableRow-root MuiTableRow-hover css-1b1a2s3"]' # 列表页referenceCount侧滑页面中的所有rule或Object
listPage_referenceCount_drawerList_disabledRuleOrObject_posXpaths = '//div[@class="box-content"]//div[contains(@class,"el-dropdown-menu__item") and contains(@class,"showNamePointer")]'# 列表页referenceCount侧滑页面中的所有不可点击的rule或Object
listPage_referenceCount_drawerList_ruleOrObject_posXpaths_template = '(//div[@class="box-content"]//div[contains(@class,"el-dropdown-menu__item")])[{}]' # 列表页referenceCount侧滑页面中的所有rule或Object
-listPage_referenceCount_posXpaths = '//div[contains(@id,"objectReferenceData")]'
+listPage_referenceCount_posXpaths = '//div[@data-field="reference_count"]/button'
listPage_notLocalVsys_referenceCount_posXpaths = '//div[@class="table-status-box"]/div[2]//*[contains(@class,"icon-lock")]/ancestor::tr//div[contains(@class,"obj-charts-btn")]'#非本Vsys中的Reference Count
listPage_localVsys_referenceCount_posXpaths ='//div[@class="table-status-box"]/div[2][not(*)]/ancestor::tr//div[contains(@class,"obj-charts-btn")]'#本Vsys中的Reference Count
# 详情页通用元素
@@ -238,9 +238,9 @@ ObjectDetailPage_audit_log_compare_time_posXpath = "//div[@class='compare-code-b
ObjectDetailPage_audit_log_compare_user_posXpath = '//div[contains(text(),"User")]/following-sibling::div'
ObjectDetailPage_audit_log_cancel_posXpath = "//div[@class='paper-right-content']//span[normalize-space(text())='Close']"
# Group Object详情页通用元素
-groupObjectDetailPage_addSubObjecDrawer_searchInput_posXpath = '//input[@class="MuiInput-input css-za5rna"]' # Group 详情页添加sub Object的侧滑页面中的搜索框
+groupObjectDetailPage_addSubObjecDrawer_searchInput_posXpath = '//div[@class="css-dob60y"]//input[@class="MuiInput-input css-za5rna"]' # Group 详情页添加sub Object的侧滑页面中的搜索框
groupObjectDetailPage_addSubObjecDrawer_totalText_posXpath = '//div[@class="px-[12px] pb-[4px] pt-[2px] text-[--color-text-disabled]"]' # Group 详情页添加sub Object的侧滑页面中的Total文本
-groupObjectDetailPage_addSubObjecDrawer_firstSubObject_posXpath = '(//div[@class="right-menu-content"]//div[contains(@class,"list-box")]//ul[@class="row-container tableList"]/li)[1]' # Group 详情页添加sub Object的侧滑页面中第一个sub object
+groupObjectDetailPage_addSubObjecDrawer_firstSubObject_posXpath = '//ul[@class="MuiList-root MuiList-vertical MuiList-variantPlain MuiList-colorNeutral MuiList-sizeMd css-1cklc3"]/li[1]' # Group 详情页添加sub Object的侧滑页面中第一个sub object
groupObjectDetailPage_subordinateObjects_search_posXpath = '//div[@class="apn-object-included_sub_object_uuids"]//input'
groupObjectDetailPage_excludeObjects_search_posXpath = '//div[@class="apn-object-excluded_sub_object_uuids"]//input'
@@ -273,7 +273,7 @@ listPage_object_reprtition_check_postXpath = '//i[@class="iconfont icon-jinggao1
listPage_current_object_reprtition_tips_posXpath = '//*[@id="router-view-container"]//div[@title="There are duplicates in the current object"]'
listPage_other_object_reprtition_tips_posXpath = '//*[@id="router-view-container"]//div[@title="Duplicate data exists"]'
# '//table/tbody/tr[1]/td[4]/div/div/div/div/div/div[1]/span' # IMSI提取Details
-listPage_object_group_exclude_open_posXpath = "//div[@class='ip-object-']"
+listPage_object_group_exclude_open_posXpath = '//input[@type="checkbox"]'
listPage_object_group_subobject_fist_posXpath = '//ul[@class="MuiList-root MuiList-vertical MuiList-variantPlain MuiList-colorNeutral MuiList-sizeMd css-1cklc3"]/li[1]//span[@class="truncate"]'
listPage_object_group_subobject_second_posXpath = '//ul[@class="MuiList-root MuiList-vertical MuiList-variantPlain MuiList-colorNeutral MuiList-sizeMd css-1cklc3"]/li[2]//span[@class="truncate"]'
ip_object_group_subobject_close_posXpath = "//div[@class='KeywordsList list-box']//span[normalize-space(text())='Close']"
@@ -447,7 +447,7 @@ listPage_object_urls_delButton_posXpath = listpage_delete_button_posXpath # Del
url_listPage_deleteButton_posId = 'appDel-_OperateBtns_ElRow_Objects_url_Home_App_anonymousComponent' # Delete 按钮id
url_listPage_first_row_checkBox_posXpath = '(//td[@rowspan="1"and @colspan="1"]//span[@class="el-checkbox__inner"])[1]' # 列表页第一行对象多选框Xpath
# listPage_object_urls_columnSetting_descriptionOption_posXpath = '//ul[@class="col-choose open"]//span[text()="Description"]' # 列设置中的description选项元素Xpath
-listPage_object_urls_columnSetting_descriptionOption_posXpath = '//li[contains(@id,"dropColRes-_ElementSet")]//span[normalize-space(text())="Description"]' # 列设置中的description选项元素Xpath
+listPage_object_urls_columnSetting_descriptionOption_posXpath = '//span[normalize-space(text())="Description"]' # 列设置中的description选项元素Xpath
listPage_object_urls_tableDetails_posXpath = '//div[@class="el-table__header-wrapper"]//span[contains(text(),"Details")]' # list表头 Details列Xpath
# listPage_object_urls_tableDetails_selected_detailsRow_posXpaths = '//span[@class="el-checkbox__input is-checked"]/ancestor::tr//div[@class="itemDetails cursor"]/span' # list页被选中的对象details 值Xpath
# listPage_object_urls_tableDetails_selected_detailsRow_posXpaths = '//span[@class="el-checkbox__input is-checked"]/ancestor::tr//div[@class="itemDetails cursor"]/..' # list页被选中的对象details 值Xpath
@@ -538,15 +538,15 @@ url_ObjectDetailPage_auditLogsDrawer_firstRowLog_checkBox_posXpath = '(//div[@cl
url_ObjectDetailPage_auditLogsDrawer_compareButton_posXpath = '//div[@class="LocalationDraswer lstsub right-show-edit right-show-edit-other"]//button[contains(@id,"test-compare-_")]' # Audit Logs 侧滑页Compare 按钮Xpath
url_ObjectDetailPage_auditLogsDrawer_compareDrawer_operationText_posXpath = '//div[contains(text(),"Operation")]/following-sibling::div' # Audit Logs 侧滑页点击Compare后的 operation text Xpath
url_ObjectDetailPage_itemsTotal_posXpath = "//div[@class='items']//div[@class='flex flex-row justify-between mt-[4px]']/div[2]/span[2]" # 详情页Items Total Xpath
-url_ObjectDetailPage_importFromFile_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-bc4t0x']" # Import From File 按钮Xpath
+url_ObjectDetailPage_importFromFile_posXpath = '//button[contains(text(),"import from file")]' # Import From File 按钮Xpath
url_ObjectDetailPage_importFromFile_button_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-bc4t0x']" # Import From File 按钮Xpath
# url_ObjectDetailPage_pleaseUpload_posXpath = '//span[contains(text(),"Please Upload")]/../../input' # Please Upload input标签Xpath
-url_ObjectDetailPage_pleaseUpload_posXpath = "//label[@class='MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary css-1b1h392']/input" # Please Upload input标签Xpath
+url_ObjectDetailPage_pleaseUpload_posXpath = '//input[@type="file"]' # Please Upload input标签Xpath
url_ObjectDetailPage_importUrlOk_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-k5thc0']" # Import URL 下的OK按钮Xpath
-url_ObjectDetailPage_importedFile_posXpath = '//ul[@class="el-upload-list el-upload-list--text"]/li' # 导入文件元素位置(Import From File 按钮旁)
-url_ObjectDetailPage_importedFile_delete_posXpath = '//i[@class="el-icon-close fontsize18"]' # 文件删除按钮
-url_ObjectDetailPage_importedFile_download_posXpath = '//i[@class="iconfont icon-DownNormal fontsize16"]' # 文件下载按钮
+url_ObjectDetailPage_importedFile_posXpath = '//div[@class="flex-1 truncate"]' # 导入文件元素位置(Import From File 按钮旁)
+url_ObjectDetailPage_importedFile_delete_posXpath = '//i[@class="iconfont icon-Delete_X text-[14px] hidden"]' # 文件删除按钮
+url_ObjectDetailPage_importedFile_download_posXpath = '//i[@class="iconfont icon-DownNormal text-[14px] hidden"]' # 文件下载按钮
# Create URL Group对象详情页
urlGroup_ObjectDetailPage_addButton_posId = 'temporary_form' # Subordinate Objects下 “+”按钮id
@@ -576,7 +576,7 @@ urlGroup_ObjectDetailPage_excludeObjectsSwitch_enableStatus_posXpath = "//div[@c
urlGroup_ObjectDetailPage_excludeObjectsSwitch_newAdd_posXpath = "//div[@class='url-object-excluded_sub_object_uuids']//i[@class='iconfont icon-Create1 font-[700]']" # Exclude Objects无数据时新增按钮Xpath
urlGroup_ObjectDetailPage_excludeObjectsSwitch_normalAdd_posXpath = "//div[@class='url-object-excluded_sub_object_uuids']//i[@class='iconfont icon-Create1 text-[18px] text-weight-700] text-[--color-primary] cursor-pointer']" # Exclude Objects有数据时新增按钮Xpath
urlGroup_ObjectDetailPage_excludeObjects_itemsArea_posXpath = "//div[@class='url-object-excluded_sub_object_uuids']" # Exclude Objects下的item区域div Xpath
-url_ObjectGroupDetailPage_subObjects_toggleDraw_closeButton_posXpath = "//button[@class='MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-5vcc8t']" # url侧滑窗口的Close按钮
+url_ObjectGroupDetailPage_subObjects_toggleDraw_closeButton_posXpath = '//i[@class="iconfont icon-Clear_aNormal close-icon"]' # url侧滑窗口的Close按钮
url_ObjectDetailPage_clearCounter_posXpath = '//button[contains(@id,"objectResetBtn-_anonymousComponent_ElForm_anonymousComponent_VPanel_VEditPanel_")]' # Clear Counter按钮
urlGroup_ObjectDetailPage_editgroup_posXpath = "//i[@class='row-edit iconfont icon-Edit cursor fontsize18']"
url_ObjectDetailPage_okButton_posId = 'OK-_URLDetail_Home_App_anonymousComponent' # “OK”按钮id
@@ -1268,7 +1268,7 @@ acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_nameInput_posXpath =
acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_itemsAddButton_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//i[@class='iconfont icon-Create1 font-[700]']" # 侧滑子Create Account页面中Items下的"+"按钮 Xpath
acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_itemsValueInput_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//input[@class='MuiInput-input css-1u0jcuo']" # 侧滑子Create Account页面中Items下的item value输入框 Xpath
acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_itemsValueSaveButton_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//i[@class='operate-icon iconfont icon-save']" # 侧滑子Create Account页面中Items下的保存按钮 Xpath
-acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_descriptionTextarea_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//div[@class='account-object-description']//textarea[1]" # 侧滑子Create Account页面中的Description textarea Xpath
+acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_descriptionTextarea_posXpath = '(//textarea[@placeholder="Please enter the content"])[2]' # 侧滑子Create Account页面中的Description textarea Xpath
acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_okButton_posXpath = "//div[@class='MuiBox-root css-1krxo6z']//button[@class='MuiButtonBase-root MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary form-action-submit css-1djnbgz']" # 侧滑子Create Account页面中OK按钮
acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_okButton_yes_posXpath = url_ObjectDetailPage_okButton_yes_posXpath # 侧滑子Create Account页面确认弹窗的“Yes”按钮
acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_okButton_cancel_posXpath = url_ObjectDetailPage_okButton_cancel_posXpath # 侧滑子Create Account页面确认弹窗的“Cancel”按钮
@@ -1328,17 +1328,22 @@ int_ObjectDetailPage_item_search_posId = url_ObjectDetailPage_object_ip_search_p
int_ObjectDetailPage_description_posXpath = "//div[@class='interval-object-description']//textarea[1]" # 对象详情页面下Description input Xpath
# 对象组详情页
-int_ObjectGroupDetailPage_subObjects_addButton_normalAdd_posXpath = acc_ObjectGroupDetailPage_subObjects_addButton_normalAdd_posXpath # Subordinate Objects 下有数据新增时"+"按钮Xpath
-int_ObjectGroupDetailPage_subObjects_addButton_newAdd_posXpath = acc_ObjectGroupDetailPage_subObjects_addButton_newAdd_posXpath # Subordinate Objects 下无数据新增时"+"按钮Xpath
+intGroup_ObjectDetailPage_includeObjectsSwitch_normalAdd_posXpath = "//div[@class='interval-object-included_sub_object_uuids']//i[@class='iconfont icon-Create1 text-[18px] font-[700] text-[--color-primary] cursor-pointer']"
+intGroup_ObjectDetailPage_excludeObjectsSwitch_normalAdd_posXpath = "//div[@class='interval-object-excluded_sub_object_uuids']//i[@class='iconfont icon-Create1 text-[18px] font-[700] text-[--color-primary] cursor-pointer']" # Exclude Objects有数据时新增按钮Xpath
+intGroup_ObjectDetailPage_excludeObjectsSwitch_newAdd_posXpath = "//div[@class='interval-object-excluded_sub_object_uuids']//i[@class='iconfont icon-Create1 font-[700]']" # Exclude Objects无数据时新增按钮Xpath
+intGroup_ObjectDetailPage_excludeObjects_itemsArea_posXpath = "//div[@class='interval-object-excluded_sub_object_uuids']" # Exclude Objects下的item区域div Xpath
+intGroup_ObjectDetailPage_excludeObjectsSwitch_posXpath = "//div[@class='interval-object-']//span[@class='MuiButtonBase-root MuiSwitch-switchBase MuiSwitch-colorPrimary PrivateSwitchBase-root MuiSwitch-switchBase MuiSwitch-colorPrimary css-y2jqxi']" # Exclude Objects Switch Xpath
+int_ObjectGroupDetailPage_subObjects_addButton_newAdd_posXpath = '//div[@class="interval-object-included_sub_object_uuids"]' # Subordinate Objects 下有数据新增时"+"按钮Xpath
+int_ObjectGroupDetailPage_subObjects_addButton_normalAdd_posXpath = '//div[@class="interval-object-included_sub_object_uuids"]//i[@class="iconfont icon-Create1 text-[18px] font-[700] text-[--color-primary] cursor-pointer"]' # Subordinate Objects 下无数据新增时"+"按钮Xpath
int_ObjectGroupDetailPage_subObjects_toggleDraw_addButton_posXpath = acc_ObjectGroupDetailPage_subObjects_toggleDraw_addButton_posXpath # Object侧滑窗口的"+"按钮
int_ObjectGroupDetailPage_subObjects_toggleDraw_addButton_account_posXpath = acc_ObjectGroupDetailPage_subObjects_toggleDraw_addButton_account_posXpath # Object侧滑窗口的"+"按钮下的single object
-int_ObjectGroupDetailPage_subObjects_subCreateObjectDrawer_nameInput_posXpath = '//div[@class="drawer-box"]//div[@data-label="Name"]//input' # 侧滑子Create Object页面Name input Xpath
+int_ObjectGroupDetailPage_subObjects_subCreateObjectDrawer_nameInput_posXpath = '(//input[@class="MuiInput-input css-fqt4w4"])[2]' # 侧滑子Create Object页面Name input Xpath
int_ObjectGroupDetailPage_subObjects_subCreateObjectDrawer_itemsAddButton_posXpath = acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_itemsAddButton_posXpath # 侧滑子Create Object页面中Items下的"+"按钮 Xpath
-int_ObjectGroupDetailPage_subObjects_subCreateObjectDrawer_itemsValueInput_lowBoundary_posXpath = '(//div[@class="drawer-box"]//div[@class="CommonItems"]//div[@class="list-container"]//input)[1]' # 侧滑子Create Interval页面中Items下的low_boundary输入框 Xpath
-int_ObjectGroupDetailPage_subObjects_subCreateObjectDrawer_itemsValueInput_upBoundary_posXpath = '(//div[@class="drawer-box"]//div[@class="CommonItems"]//div[@class="list-container"]//input)[last()]' # 侧滑子Create Interval页面中Items下的upBoundary输入框 Xpath\
+int_ObjectGroupDetailPage_subObjects_subCreateObjectDrawer_itemsValueInput_lowBoundary_posXpath = '//div[@data-id="interval-start"]/input' # 侧滑子Create Interval页面中Items下的low_boundary输入框 Xpath
+int_ObjectGroupDetailPage_subObjects_subCreateObjectDrawer_itemsValueInput_upBoundary_posXpath = '//div[@data-id="interval-end"]/input' # 侧滑子Create Interval页面中Items下的upBoundary输入框 Xpath\
int_ObjectGroupDetailPage_subObjects_subCreateObjectDrawer_itemsValueSaveButton_posXpath = acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_itemsValueSaveButton_posXpath # 侧滑子Create Objects页面中Items下的保存按钮 Xpath
int_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_descriptionTextarea_posXpath = acc_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_descriptionTextarea_posXpath # 侧滑子Create Objects页面中的Description textarea Xpath
-int_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_okButton_posXpath = '//div[@class="drawer-box"]//div[@class="prox-fixed-footer policy-foot-color"]/button[@id="OK-_IntervalsDetail_VDraswer_EditDraw_IntervalsDetail_Home_App_anonymousComponent"]' # 侧滑子Create Objects页面中OK按钮
+int_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_okButton_posXpath = '(//button[@class="MuiButtonBase-root MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiLoadingButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary form-action-submit css-1djnbgz"])[2]' # 侧滑子Create Objects页面中OK按钮
int_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_okButton_yes_posXpath = url_ObjectDetailPage_okButton_yes_posXpath # 侧滑子Create Account页面确认弹窗的“Yes”按钮
int_ObjectGroupDetailPage_subObjects_subCreateAccountDrawer_okButton_cancel_posXpath = url_ObjectDetailPage_okButton_cancel_posXpath # 侧滑子Create Account页面确认弹窗的“Cancel”按钮
# 详情页通用元素