This commit is contained in:
parent
e8b726ee39
commit
031a5b89cc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
200182
appTranslator.log
200182
appTranslator.log
File diff suppressed because one or more lines are too long
8
price.py
8
price.py
|
|
@ -93,7 +93,7 @@ class PriceHandler:
|
|||
|
||||
self.logger.debug("옵션 가격 정보를 수집하기 위해 옵션가격정렬을 클릭 합니다.")
|
||||
|
||||
self.ordering_by_option_button_click()
|
||||
await self.ordering_by_option_button_click()
|
||||
|
||||
is_single = self.optionHandler.option_info['is_single_option']
|
||||
|
||||
|
|
@ -604,10 +604,12 @@ class PriceHandler:
|
|||
|
||||
# 각 선택자를 사용하여 요소 찾기
|
||||
product_cost_element = await self.page.wait_for_selector(product_cost_locator, timeout=10000)
|
||||
await self.page.evaluate("arguments[0].scrollIntoView()", product_cost_element)
|
||||
# await self.page.evaluate("(element) => element.scrollIntoView()", product_cost_element)
|
||||
await product_cost_element.scroll_into_view_if_needed(timeout=3000)
|
||||
|
||||
standard_selling_price_element = await self.page.wait_for_selector(standard_selling_price_locator, timeout=10000)
|
||||
await self.page.evaluate("arguments[0].scrollIntoView()", standard_selling_price_element)
|
||||
# await self.page.evaluate("(element) => element.scrollIntoView()", standard_selling_price_element)
|
||||
await standard_selling_price_element.scroll_into_view_if_needed(timeout=3000)
|
||||
|
||||
# cost_value = int(float(await product_cost_element.input_value().replace(",", "")))
|
||||
cost_value_str = await product_cost_element.input_value()
|
||||
|
|
|
|||
Loading…
Reference in New Issue