- Remove deprecated commands
driver#launch: Please useactivateor equivalent methodsdriver#close: Please useterminateorquitto end the sessiondriver#reset: Please end the session and create a new one, or combining withactivate/terminateetcelement#setImmediateValueandelement#replaceValue: Please useelement#sendKeysinstead
- Fix lint
- Expose finder
- Add drag guestur in mouse #49
- Improved error message handling when the server responded as MJSONWP protocol instead of valid W3C error response
- Fix format with Dart 2.14.4
- Excludeds
testdirectory from the published package
- Deprecate
launchApp,closeAppandreset. Please read appium/issues#15807 for more details.
- Add
firstMatchOnlyparameter inbyAncestorandbyDescendant
- Fix
byAncestorandbyDescendant
- Add
AppiumFlutterFinderfor https://github.com/truongsinh/appium-flutter-driver- Please read test/unit/flutter_finder_test.dart or their docstring about their usage.
0.3.1 - 2021-03-12
- Tried to null safe
This version is same as 0.2.0 and 0.2.1. (To update documentation)
- Add
driver.executeDriver - Add
driver.device.getOrientationanddriver.device.setOrientation
- Add
driver.cdp.executecommand to call ChromeDevTools command in WebView context - Add
-android viewmatcherasawait driver.findElement(AppiumBy.viewmatcher('view matcher'))import 'dart:convert'; var cmd = json.encode({ 'name': 'withText', 'args': ['Accessibility'], 'class': 'androidx.test.espresso.matcher.ViewMatchers' }); var e = await driver.findElement(AppiumBy.viewmatcher(cmd));
- Fix to send
textassetImmediateValueandreplaceTextfor backward compatibilitysendKeysalready has it
- Chore: Fix formatter warning
- Add events methods:
driver.logs.getEvents,driver.logs.logEvent - Fix warning message by static analyzer
- Fix parsing element/s by find element/s which have only MJSONWP key
Basic actions have been implemented.
- Add location methods:
driver.device.getLocation,driver.device.setLocation - Add system bars and density:
driver.device.getSystemBars,driver.device.getDisplayDensity - Add log methods for Appium:
driver.logs.getAvailableType,driver.logs.get
- Add get sessions command:
driver.sessions.get() - Add get status:
driver.status.get() - Add get capabilities:
driver.session.getCapabilities() - Add push/pull files and folder:
driver.device.pushFile,driver.device.pullFile,driver.device.pullFolder - Add set/get clipboard:
driver.device.setClipboard,driver.device.getClipboard - Add open notification:
driver.device.openNotification - Add start activity:
driver.device.startActivity - Add get current activity/package:
driver.device.getCurrentPackage,driver.device.getCurrentActivity
- Add device lock related commands:
driver.device.* - Add device system time command:
driver.device.getSystemTime() - Add device shake command:
driver.device.shake() - Add keyboard commands:
driver.keyboard.isShown()anddriver.keyboard.hide() - Add keycode commands:
driver.device.pressKeycodeanddriver.device.longPressKeycode - Add element commands:
element.displayed,element.replaceValue,element.setImmediateValue - Add settings commands:
driver.settings.update,driver.settings.get
- Add context related commands:
driver.contexts.* - Add app state related commands:
driver.appState.* - Add app management commands:
driver.app.*- e.g. install, terminate
- Add IME related commands:
driver.ime.*
- Add
driver.contexts.getAvailableContexts() - Add
driver.appState.get('com.apple.mobilesafari'))
- Add an example
- Apply formatter
- initial release