Skip to content

Commit e3b9496

Browse files
committed
Update README with latest commit ID - 0.0.13
1 parent 6cc2848 commit e3b9496

File tree

1 file changed

+16
-30
lines changed

1 file changed

+16
-30
lines changed

README.md

Lines changed: 16 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,6 @@ The current Appium Flutter Driver is built on top of the `flutter_test` SDK, whi
2323

2424
## Why Use Appium Flutter Integration Driver?
2525

26-
:star: **⁠Strong Typing & Fluent APIs:** Ensures robust and easy-to-use interfaces.
27-
28-
:star: **⁠Element Handling**: Automatically waits for elements to attach to the DOM before interacting.
29-
30-
:star: **⁠Seamless Context Switching**: No need to switch between contexts, such as Flutter and native; the driver handles it effortlessly.
31-
32-
:star: **Auto Wait for Render Cycles**: Automatically waits for frame render cycles, including animations and screen transitions.
33-
34-
:star: **Simplified Powerful Gestures**: Supports powerful yet simplified gestures like LongPress, ScrollToElement, DragAndDrop, and DoubleClick.
35-
36-
:star:**Element Chaining**: Allows chaining of elements, enabling you to find child elements under a specific parent easily.
37-
38-
3926
This driver is built using [Flutter Integration Test](https://docs.flutter.dev/cookbook/testing/integration/introduction).
4027

4128
## How to Use Appium Flutter Integration Driver
@@ -46,7 +33,7 @@ This driver is built using [Flutter Integration Test](https://docs.flutter.dev/c
4633

4734
```yaml
4835
dev_dependencies:
49-
appium_flutter_server: 0.0.12
36+
appium_flutter_server: 0.0.13
5037
```
5138
5239
2. Create a directory called `integration_test` in the root of your Flutter project.
@@ -151,21 +138,20 @@ For more details, refer to the documentation for each driver:
151138

152139
You can use the following locators to find elements in your Flutter app. Custom finders are built for WDIO. Refer to the [wdio-flutter-by-service](https://www.npmjs.com/package/wdio-flutter-by-service?activeTab=readme).
153140

154-
| Locator | Description |
155-
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------|
156-
| `flutterByValueKey(value: string): Flutter.Locator` | Locate by value key |
157-
| `flutterByValueKey$(value: string): WebdriverIO.Element` | Locate single element by value key |
158-
| `flutterByValueKey$$(value: string): WebdriverIO.Element[]` | Locate multiple elements by value key |
159-
| `flutterBySemanticsLabel(label: string): Flutter.Locator` | Locate by semantics label |
160-
| `flutterBySemanticsLabel$(label: string): WebdriverIO.Element` | Locate single element by semantics label |
161-
| `flutterBySemanticsLabel$$(label: string): WebdriverIO.Element[]` | Locate multiple elements by semantics label |
162-
| `flutterByText(text: string): Flutter.Locator` | Locate by text |
163-
| `flutterByText$(text: string): WebdriverIO.Element` | Locate single element by text |
164-
| `flutterByType$(text: string): WebdriverIO.Element` | Locate single element by Type(Checkbox, RadioButton, ListView) |
165-
| `flutterByType$$(text: string): WebdriverIO.Element[]` | Locate multiple elements by text(Checkbox, RadioButton, ListView) |
166-
| `flutterDoubleClick(element: WebdriverIO.Element): WebdriverIO.Element` | Double click on an element |
167-
| `flutterWaitForAbsent(options: { element: WebdriverIO.Element; locator: Flutter.Locator; }): void` | Wait for an element to be absent |
168-
| `flutterScrollTillVisible(options: { finder: WebdriverIO.Element; scrollView?: WebdriverIO.Element; scrollDirection?: 'up','right','down','left'; delta?: number; maxScrolls?: number; settleBetweenScrollsTimeout?: number; dragDuration?: number; }): Promise<WebdriverIO.Element>` | Scroll until an element is visible |
169-
| `flutterDragAndDrop(options: { source: WebdriverIO.Element; target: WebdriverIO.Element }): Promise<void>` | Drag and Drop an element from one position to another. |
141+
| Locator | Description |
142+
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------|
143+
| `flutterByValueKey(value: string): Flutter.Locator` | Locate by value key |
144+
| `flutterByValueKey$(value: string): WebdriverIO.Element` | Locate single element by value key |
145+
| `flutterByValueKey$$(value: string): WebdriverIO.Element[]` | Locate multiple elements by value key |
146+
| `flutterBySemanticsLabel(label: string): Flutter.Locator` | Locate by semantics label |
147+
| `flutterBySemanticsLabel$(label: string): WebdriverIO.Element` | Locate single element by semantics label |
148+
| `flutterBySemanticsLabel$$(label: string): WebdriverIO.Element[]` | Locate multiple elements by semantics label |
149+
| `flutterByText(text: string): Flutter.Locator` | Locate by text |
150+
| `flutterByText$(text: string): WebdriverIO.Element` | Locate single element by text |
151+
| `flutterByType$(text: string): WebdriverIO.Element` | Locate single element by Type(Checkbox, RadioButton, ListView) |
152+
| `flutterByType$$(text: string): WebdriverIO.Element[]` | Locate multiple elements by text(Checkbox, RadioButton, ListView)|
153+
| `flutterDoubleClick(element: WebdriverIO.Element): WebdriverIO.Element` | Double click on an element |
154+
| `flutterWaitForAbsent(options: { element: WebdriverIO.Element; locator: Flutter.Locator; }): void` | Wait for an element to be absent |
155+
| `flutterScrollTillVisible(options: { finder: WebdriverIO.Element; scrollView?: WebdriverIO.Element; scrollDirection?: 'up','right','down','left'; delta?: number; maxScrolls?: number; settleBetweenScrollsTimeout?: number; dragDuration?: number; }): Promise<WebdriverIO.Element>` | Scroll until an element is visible |
170156

171157
For more examples, see the [test file](https://github.com/AppiumTestDistribution/appium-flutter-integration-driver/blob/main/test/specs/test.e2e.js).

0 commit comments

Comments
 (0)