Appium stopped working once I updated to XCode8. So I installed the beta so I could use desired_caps['automationName'] = 'XCUITest'. When I start the appium server from the terminal it runs 1.6.3 the test case will run but can't find my xpath. So I want to run the inspector from the Appium GUI but it is running 1.5.
I try but I get this:
Traceback (most recent call last):
File "/Users/mcroff/SupervisorCode/tfmobileapp/tests/Automative Test/maintest.py", line 18, in
wd = webdriver.Remote('http://0.0.0.0:4723/wd/hub', desired_caps)
File "build/bdist.macosx-10.11-intel/egg/appium/webdriver/webdriver.py", line 36, in init
File "/Library/Python/2.7/site-packages/selenium-3.0.0.b2-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 90, in init
self.start_session(desired_capabilities, browser_profile)
File "/Library/Python/2.7/site-packages/selenium-3.0.0.b2-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 177, in start_session
response = self.execute(Command.NEW_SESSION, capabilities)
File "/Library/Python/2.7/site-packages/selenium-3.0.0.b2-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 236, in execute
self.error_handler.check_response(response)
File "/Library/Python/2.7/site-packages/selenium-3.0.0.b2-py2.7.egg/selenium/webdriver/remote/errorhandler.py", line 192, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: A new session could not be created. Details: The desiredCapabilities object was not valid for the following reason(s): automationName XCUITest not part of Appium,Selendroid,WebDriverAgent.
[Finished in 0.3s with exit code 1]
[shell_cmd: python -u "/Users/mcroff/SupervisorCode/tfmobileapp/tests/Automative Test/maintest.py"]
[dir: /Users/mcroff/SupervisorCode/tfmobileapp/tests/Automative Test]
[path: /usr/bin:/bin:/usr/sbin:/sbin]
I am sure I am making a basic mistake and would love some help.
Thanks!