appium / appium-flutter-driver

Appium Flutter Driver is a test automation tool for Flutter apps on multiple platforms/OSes. Appium Flutter Driver is part of the Appium mobile test automation tool maintained by community
MIT License
454 stars 183 forks source link

driver.context("Native_APP") no longer works in io.appium java-client 9.0 #644

Closed zeinmuhammad25 closed 8 months ago

zeinmuhammad25 commented 9 months ago

I changed the java-client version to 9.0.0 which was originally version 7.6.1 which previously could use driver.context("Native_APP") to change the apps context to native on Flutter apps. please tell me the changes in java client 9.0.0 to change the context to native

thanks.

KazuCocoa commented 9 months ago

Please attach the full appium server log. I guess you should set NATIVE_APP (case sensitive)

The client has migration guides. They could help I guess.

https://github.com/appium/java-client?tab=readme-ov-file#v8-to-v9-migration https://github.com/appium/java-client?tab=readme-ov-file#v7-to-v8-migration