Open Abs985 opened 8 months ago
2024_02_21_10_err.log 最后面那一部分
Traceback (most recent call last): File "/app/service/search_draw_dynamic_service/SearchDynamicByUps.py", line 127, in searchFromSmile base_link_element = ElementUtil.get_element_by_xpath(bro, chains, pathOne) File "/app/utils/webdriver_util.py", line 21, in get_element_by_xpath return WebDriverWait(bro, 10).until(EC.element_to_be_clickable((By.XPATH, path))) File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 78, in until value = method(self._driver) File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 326, in _predicate target = driver.find_element(*target) # grab element at locator File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 1238, in find_element return self.execute(Command.FIND_ELEMENT, { File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 418, in execute self.error_handler.check_response(response) File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 243, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: 'value' must be a string (Session info: chrome=96.0.4664.110) Stacktrace: