[Appium] a tip to launch an iOS app with language and locale

Appium can launch an iOS app with an arbitrary language/locale by XCTest feature. The well known way is appium:language and appium:locale capabilities. The behind is simple. Appium provides -AppleLanguages and -AppleLocale process arguments to the launching process to the application under test. It means you can launch an arbitrary application with an arbitrary language. It…More

[Appium][Flutter] Handling WebView contexts in flutter-appium-driver

I’ve recently added WebView feature in the appium-flutter-driver Webview still work in progress? #45. The v0.0.32 should have it. debuggingEnabled is necessary t enable WebView availability in Flutter. Then, appium UIA2/XCUITest, which runs to handle the application under test as part of appium-flutter-driver, can find its WebView context. So, you can do like the below code…More

[Appium][Flutter] Flutter driver is now in appium-userland repository

I’ve created a prototype for Flutter x Appium in https://kazucocoa.wordpress.com/2019/05/27/appiumfluttercalls-flutter-driver-via-httprequests/, but https://github.com/truongsinh/appium-flutter-driver already has many users than the prototype. So I’ve decided to contribute to the flutter-driver as a primary voluntary contribution. Recently, the https://github.com/truongsinh/appium-flutter-driver moved to https://github.com/appium-userland/appium-flutter-driver so that other contributors were also able to maintain the project. The intention of the appium-userland organization…More

[Appium][Flutter] integration_test?

As a note for me. https://github.com/KazuCocoa/appium_dart/issues/28#issuecomment-796619747 https://github.com/KazuCocoa/proto-flutter-driver-server/issues/3 I guess the flutter_driver style will remain for a while to achieve E2E style automation, but it could be more flaky than integration tests with hermetic environment, unfortunately. I understand to keep maintain might be hard, but hopefully they also develop (full) e2e automation as well. (But could…More

[Appium] disableSuppressAccessibilityService

Appium 1.18.0 finally got disableSuppressAccessibilityService capability. It allows users to run tests against the app under test that requires accessibility service such as TalkBack. In general, the service works only one, but UiAutomation.FLAG_DONT_SUPPRESS_ACCESSIBILITY_SERVICES flag relaxes the limitation. The disableSuppressAccessibilityService capability sets the flag. Then, Appium can run tests with accessibility services. Yey. (Of course, this…More

[Firefox] CDP for Firefox

Firefox has a remote debugger feature. https://docs.firefox-dev.tools/backend/protocol.html The debugger is available via socket or WebSocket when we launch a Firefox with –start-debugger-server argument like firefox –start-debugger-server ws:9090. Then, WebSocket clients can connect to it. But the command protocol is not CDP (Chrome DevTools Protocol). The format also Firefox specific (and not on the documentation well?)…More