0

I focused on working on a testautomation for a little flutter app i made all in the favor for my university papers.

The Problem:

When i start an appium server, an android emulator, and my script in python, i get this error message: "UnknownError: An unknown server-side error occurred while processing the command. Original error: Cannot read property 'match' of undefined"

This is the whole error message from the VS Code Terminal:

Traceback (most recent call last): File "c:\Users\XRAYAdmin\Documents\TestAutomation.py", line 9, in <module> driver = webdriver.Remote('http://localhost:4723/wd/hub', dict( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\XRAYAdmin\AppData\Local\Programs\Python\Python311\Lib\site-packages\appium\webdriver\webdriver.py", line 230, in __init__ super().__init__( File "C:\Users\XRAYAdmin\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 286, in __init__ self.start_session(capabilities, browser_profile) File "C:\Users\XRAYAdmin\AppData\Local\Programs\Python\Python311\Lib\site-packages\appium\webdriver\webdriver.py", line 320, in start_session response = self.execute(RemoteCommand.NEW_SESSION, w3c_caps) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\XRAYAdmin\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 440, in execute self.error_handler.check_response(response) File "C:\Users\XRAYAdmin\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 245, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Cannot read property 'match' of undefined Stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Cannot read property 'match' of undefined at getResponseForW3CError (C:\Users\XRAYAdmin\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:804:9) at asyncHandler (C:\Users\XRAYAdmin\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\protocol\protocol.js:380:37)

Here you have the Link to the Appium Server Log

FotogyDS
  • 1
  • 2
  • [link](https://github.com/appium-userland/appium-flutter-driver/issues/410) Github Issue regarding this Problem – FotogyDS Feb 10 '23 at 16:11

0 Answers0