https://developer.chrome.com/docs/devtools/recorder/ will be available since Chrome v97. I tried it out in the canary channel a bit. It looks like the recorder is similar to https://github.com/puppeteer/recorder https://kazucocoa.wordpress.com/2020/11/26/recorder-chrome-devtools-base/ but it was integrated with Chrome well. So, you can start a recording via the Web Inspector, manage scenarios on it and export it as Puppeteer’s code. The…More
Tag Archives: automation
[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
[iOS] alternative of iproxy: tidevice and ios-go
I’ve known of the repository and CLI, but let me leave this link here as my note. https://github.com/alibaba/taobao-iphone-device https://github.com/danielpaulus/go-iosMore
[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
[Chrome] Found Automation APIs
I didn’t know this page: https://developer.chrome.com/docs/extensions/reference/automation/ Basically, the API is available in chrome browser. So, it is probably for libraries running as part of JS on the browser. But maybe we can use it for Chrome OS automation since the API has https://developer.chrome.com/docs/extensions/reference/automation/#method-getDesktop as well. I don’t have Chrome OS yet, but it would be…More
[Recorder] Chrome DevTools base
This page is a note for me. According to https://umaar.com/dev-tips/241-puppeteer-recorder/ , Puppeteer team is building a recorder feature. https://github.com/puppeteer/recorder Playwrite is this. https://github.com/microsoft/playwright-cli Chrome DevTools base tools will get more power in automation field, awesome. Probably maintenance cost for scenarios are same as Selenium IDE etc, but we can expect browser/devtools will keep behavior by…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