This commit is contained in:
parent
24c6cfc28a
commit
036fed00dc
|
|
@ -45,7 +45,6 @@ delete_button_selector_template = '//*[@id="productMainContentContainerId"]/div[
|
||||||
fallback1_delete_button_selector_template = 'div#productMainContentContainerId li:nth-child({index}) > div > div:nth-child(1) > div > div:nth-child(2) > div > div.ant-row.ant-row-no-wrap.ant-row-space-between.ant-row-middle.css-1li46mu > div:nth-child(1) > div > span'
|
fallback1_delete_button_selector_template = 'div#productMainContentContainerId li:nth-child({index}) > div > div:nth-child(1) > div > div:nth-child(2) > div > div.ant-row.ant-row-no-wrap.ant-row-space-between.ant-row-middle.css-1li46mu > div:nth-child(1) > div > span'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
; confirm_delete_button_selector = '.ant-modal.css-1li46mu.ant-modal-confirm.ant-modal-confirm-confirm button:has-text("삭제")'
|
; confirm_delete_button_selector = '.ant-modal.css-1li46mu.ant-modal-confirm.ant-modal-confirm-confirm button:has-text("삭제")'
|
||||||
confirm_delete_button_selector = '/html/body/div[8]/div/div[2]/div/div[2]/div/div/div/div[2]/button[2]'
|
confirm_delete_button_selector = '/html/body/div[8]/div/div[2]/div/div[2]/div/div/div/div[2]/button[2]'
|
||||||
add_button_selector2 = 'div#productMainContentContainerId div.lesrZh.sc-bYHUQc:nth-child({index}) > .sc-dRGYJT.hmQUGb'
|
add_button_selector2 = 'div#productMainContentContainerId div.lesrZh.sc-bYHUQc:nth-child({index}) > .sc-dRGYJT.hmQUGb'
|
||||||
|
|
|
||||||
|
|
@ -803,7 +803,6 @@ class OptionHandler:
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.logger.error(f"{index}번째 옵션의 삭제 버튼을 찾는 중 오류 발생: {e}", exc_info=True)
|
self.logger.error(f"{index}번째 옵션의 삭제 버튼을 찾는 중 오류 발생: {e}", exc_info=True)
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# '+ 버튼' 클릭 후 파일 업로드
|
# '+ 버튼' 클릭 후 파일 업로드
|
||||||
self.logger.debug(f"{index}번째 옵션의 이미지추가 버튼 가져오기")
|
self.logger.debug(f"{index}번째 옵션의 이미지추가 버튼 가져오기")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue