From f59ff6d07314ed3b0a12cecbf000eac02c6f8698 Mon Sep 17 00:00:00 2001 From: 17322369953 <381713747@qq.com> Date: Fri, 8 Dec 2023 16:13:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E7=BB=9D=E5=AF=B9=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- actions/actions_buy/page_buy.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/actions/actions_buy/page_buy.py b/actions/actions_buy/page_buy.py index ce8482d..1896d7c 100644 --- a/actions/actions_buy/page_buy.py +++ b/actions/actions_buy/page_buy.py @@ -63,9 +63,6 @@ class PageBuy(PageLogin): _supplier_input_locator = (By.XPATH, '//input[@placeholder = "模糊检索:供应商名称,供应商编码"]') # 供应商搜索元素 _supplier_search_locator = (By.XPATH, '//input[@placeholder = "模糊检索:供应商名称,供应商编码"]/../span/span/i') - # 供应商表元素-----这个只能找绝对路径了,开发太狠了 - _supplier_table_locator = ( - By.XPATH, '/html/body/div[10]/div/div/div/div[1]/div[2]/div[1]/div/div/div/div[1]/div[3]/div/div[1]/div/table') # 供应商dialog _supplier_dialog_locator = ( By.XPATH, '//div[starts-with(@id,"el-id-") and contains(@id,"-20") and @class="el-dialog__body"]') @@ -389,10 +386,6 @@ class PageBuy(PageLogin): def get_businessman_dialog(self): return self.get_element_wait_presence(self._businessman_dialog_locator) '''商品信息hold''' - '''获取商品全选复选框''' - def get_merchandise_all_select(self): - return self.get_element_wait_presence(self._merchandise_all_select_locator) - '''商品录入按钮''' def get_merchandise(self): -- GitLab