You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-30Lines changed: 16 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,19 +23,6 @@ The current Appium Flutter Driver is built on top of the `flutter_test` SDK, whi
23
23
24
24
## Why Use Appium Flutter Integration Driver?
25
25
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
-
39
26
This driver is built using [Flutter Integration Test](https://docs.flutter.dev/cookbook/testing/integration/introduction).
40
27
41
28
## How to Use Appium Flutter Integration Driver
@@ -46,7 +33,7 @@ This driver is built using [Flutter Integration Test](https://docs.flutter.dev/c
46
33
47
34
```yaml
48
35
dev_dependencies:
49
-
appium_flutter_server: 0.0.12
36
+
appium_flutter_server: 0.0.13
50
37
```
51
38
52
39
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:
151
138
152
139
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).
|`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. |
0 commit comments