tests\cross_end\tests\test_driver_to_settlement.py:87: in test_driver_to_settlement_full_flow driver_flow.accept_order_flow(quantity="1") tests\cross_end\pages\app\driver_freight_flow_page.py:127: in accept_order_flow self._wait_and_fill(self.quantity_input, quantity) # ③ 填写数量 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests\cross_end\pages\app\driver_freight_flow_page.py:76: in _wait_and_fill wait.until(EC.visibility_of_element_located(locator)) D:\Python\Python312\Lib\site-packages\selenium\webdriver\support\wait.py:112: in until value = method(self._driver) ^^^^^^^^^^^^^^^^^^^^ D:\Python\Python312\Lib\site-packages\selenium\webdriver\support\expected_conditions.py:188: in _predicate return _element_if_visible(driver.find_element(*locator)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ D:\Python\Python312\Lib\site-packages\selenium\webdriver\remote\webdriver.py:899: in find_element return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ D:\Python\Python312\Lib\site-packages\selenium\webdriver\remote\webdriver.py:492: in execute self.error_handler.check_response(response) D:\Python\Python312\Lib\site-packages\appium\webdriver\errorhandler.py:125: in check_response raise exception_class(msg=message, stacktrace=format_stacktrace(stacktrace)) E selenium.common.exceptions.WebDriverException: Message: 'POST /element' cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details E Stacktrace: E UnknownError: 'POST /element' cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details E at UIA2Proxy.command (C:\Users\23184\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\build\lib\jsonwp-proxy\proxy.js:274:19) E at process.processTicksAndRejections (node:internal/process/task_queues:104:5) E at async AndroidUiautomator2Driver.doFindElementOrEls (file:///C:/Users/23184/.appium/node_modules/appium-uiautomator2-driver/build/lib/commands/find.js:20:13) E at async doFind (C:\Users\23184\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-android-driver\build\lib\commands\find.js:24:23) E at async wrappedCondFn (C:\Users\23184\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\build\lib\basedriver\commands\timeout.js:93:20) E at async spin (C:\Users\23184\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\build\lib\asyncbox.js:261:24) E at async waitForCondition (C:\Users\23184\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\build\lib\asyncbox.js:279:12) E at async AndroidUiautomator2Driver.implicitWaitForCondition (C:\Users\23184\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\build\lib\basedriver\commands\timeout.js:95:16) E at async AndroidUiautomator2Driver.findElOrEls (C:\Users\23184\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-android-driver\build\lib\commands\find.js:45:9) E at async AndroidUiautomator2Driver.findElOrElsWithProcessing (C:\Users\23184\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\build\lib\basedriver\commands\find.js:12:16) E at async AndroidUiautomator2Driver.findElement (C:\Users\23184\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\build\lib\basedriver\commands\find.js:28:16) E at async runCommandPromise (C:\Users\23184\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\build\lib\basedriver\driver.js:119:24)tests\cross_end\conftest.py:100: in app_driver save_failure_screenshot(d, cfg, "android", request) tests\app\_shared.py:190: in save_failure_screenshot driver.save_screenshot(path) D:\Python\Python312\Lib\site-packages\selenium\webdriver\remote\webdriver.py:979: in save_screenshot return self.get_screenshot_as_file(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ D:\Python\Python312\Lib\site-packages\selenium\webdriver\remote\webdriver.py:956: in get_screenshot_as_file png = self.get_screenshot_as_png() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ D:\Python\Python312\Lib\site-packages\selenium\webdriver\remote\webdriver.py:987: in get_screenshot_as_png return b64decode(self.get_screenshot_as_base64().encode("ascii")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ D:\Python\Python312\Lib\site-packages\selenium\webdriver\remote\webdriver.py:997: in get_screenshot_as_base64 return self.execute(Command.SCREENSHOT)["value"] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ D:\Python\Python312\Lib\site-packages\selenium\webdriver\remote\webdriver.py:492: in execute self.error_handler.check_response(response) D:\Python\Python312\Lib\site-packages\appium\webdriver\errorhandler.py:125: in check_response raise exception_class(msg=message, stacktrace=format_stacktrace(stacktrace)) E selenium.common.exceptions.WebDriverException: Message: 'GET /screenshot' cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details E Stacktrace: E UnknownError: 'GET /screenshot' cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details E at UIA2Proxy.command (C:\Users\23184\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\build\lib\jsonwp-proxy\proxy.js:274:19) E at process.processTicksAndRejections (node:internal/process/task_queues:104:5) E at async AndroidUiautomator2Driver.getScreenshot (file:///C:/Users/23184/.appium/node_modules/appium-uiautomator2-driver/build/lib/commands/screenshot.js:61:19) E at async runCommandPromise (C:\Users\23184\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\build\lib\basedriver\driver.js:119:24)