[PriceLocators] return_fee_input_locator = //*[@id='productMainContentContainerId']/div/div[1]/div/div/div[4]/div/div[1]/div[3]/div/div/div/div[1]/div[2]/input first_delv_fee_input_locator = //*[@id='productMainContentContainerId']/div/div[1]/div/div/div[4]/div/div[1]/div[4]/div/div[2]/div/div[1]/div[2]/input exchange_fee_input_locator = //*[@id='productMainContentContainerId']/div/div[1]/div/div/div[4]/div/div[1]/div[5]/div/div/div/div[1]/div[2]/input plus_margin_locator = //*[@id='productMainContentContainerId']/div/div[1]/div/div/div[2]/div/div[1]/div[8]/div/div/div[3]/div/div/div/div[1]/div[2]/input oversea_shipping_locator = //*[@id='productMainContentContainerId']/div/div[1]/div/div/div[2]/div/div[1]/div[10]/div/div/div/div[1]/div[2]/input option_count_text_locator = 'div#productMainContentContainerId th:nth-child(2) > div > span' product_cost_locator = //*[@id='productMainContentContainerId']/div/div[2]/div/div/div[5]/div[1]/div/div/div/div/div[2]/table/tbody/tr[{i}]/td[3]/div/div/div/div[2]/input standard_selling_price_locator = //*[@id='productMainContentContainerId']/div/div[2]/div/div/div[5]/div[1]/div/div/div/div/div[2]/table/tbody/tr[{i}]/td[4]/div/div/div[1]/div/div[2]/input [OptionLocators] option_input_locator = //*[@id='optionMainContainerId']/div/div[2]/table/tbody/tr[{i}]/td[2]/input option_price_locator = //*[@id='optionMainContainerId']/div/div[2]/table/tbody/tr[{i}]/td[4]/input [DetailLocators] product_detail_input_locator = //*[@id='detailMainContainerId']/div/div/div[{i}]/textarea product_image_locator = //*[@id='detailMainContainerId']/div/div/div[{i}]/img [ProductNameLocators] product_name_input_locator = //*[@id='productMainContentContainerId']/div/div[1]/div/div/div[1]/input [BrowserControl] # 크롬 창 이름 chrome_window_name = 퍼센티 - 셀러들을 위한 AI 구매대행 솔루션 - Chrome # 로그인 관련 선택자 admin_id_input = input[placeholder="이메일 주소 입력"] admin_password_input = input[placeholder="영문/숫자/특수문자의 조합 (6~15자리)"] admin_login_button = button:has-text("로그인 하기") user_id_input = input[placeholder="직원 아이디 입력"] user_password_input = input[placeholder="영문/숫자/특수문자의 조합 (6~15자리)"] user_login_button = button:has-text("직원 로그인 하기") admin_toggle_button = button[role="switch"] # 광고 다이얼로그 ad_dialog_selector = div.ant-modal-wrap.ant-modal-centered ad_close_button_selector = div.ant-modal-footer > div > div > button[type='button'].ant-btn.css-1li46mu.ant-btn-default # 상품 수 관련 선택자 total_product_count = '#root > div > div > div > div > main > div > div.sc-ezreuY.kYrYVh > div.sc-dChVcU.cRrUlt > div.sc-izQBue.dxiUJm > div > div:nth-child(1) > label > span:nth-child(2)' # 상품명 관련 선택자 product_name_xpath = //div[{index}]/div/li/div/div/div[2]/div/div/div[1]/div[1]/span[2] product_name_css = 'div#root div:nth-child({index}) > div > li > div > div > div:nth-child(2) > div > div > div.ant-col.css-1li46mu > div.sc-ktPPKK.ezbvYT > span.sc-ecPEgm.gmiQgL.Body3Regular14.CharacterPrimary85' # 상품 수정을 위한 버튼 product_edit_button = button:has-text("세부사항 수정 및 업로드") # 탭 관련 선택자 detail_tab = div.ant-tabs-tab:has-text("상세페이지") option_tab = div.ant-tabs-tab:has-text("옵션") price_tab = div.ant-tabs-tab:has-text("가격") # 페이지 이동 관련 선택자 next_page_button_template = li.ant-pagination-item[title="{page_number}"] new_product_page_locator = span.ant-menu-title-content:has-text("신규 상품 등록") current_page_locator = li.ant-pagination-item.ant-pagination-item-active # 이미지 URL 추출 관련 선택자 source_button = button[data-cke-tooltip-text="소스"] source_editing_area = div.ck-source-editing-area # 상세페이지 소스 관련 선택자 source_button_locator = button[data-cke-tooltip-text="소스"] ck_source_editing_area_locator = div.ck-source-editing-area option_input_field_locator = 'div#productMainContentContainerId > div > div > div:nth-child(2) > div:nth-child(2) > div:nth-child(2) > div' [CategoryMargins] categories = 가구, 농기구 [가구] threshold_1 = 100000 # 10만원 extra_margin_1 = 10000 # 2만원 초과마다 1만원 추가 unit_1 = 20000 threshold_2 = 200000 # 20만원 extra_margin_2 = 15000 # 2만원 초과마다 1.5만원 추가 unit_2 = 20000 [농기구] threshold_1 = 100000 # 10만원 extra_margin_1 = 5000 # 2만원 초과마다 0.5만원 추가 unit_1 = 20000 threshold_2 = 200000 # 20만원 extra_margin_2 = 10000 # 2만원 초과마다 1만원 추가 unit_2 = 20000