@@ -5,20 +5,23 @@ declare global {
55 namespace WebdriverIO {
66 interface Browser {
77 flutterByValueKey ( value : string ) : Flutter . Locator ;
8- flutterByValueKey$ ( value : string ) : WebdriverIO . Element ;
9- flutterByValueKey$$ ( value : string ) : WebdriverIO . Element [ ] ;
8+ flutterByValueKey$ ( value : string ) : Promise < WebdriverIO . Element > ;
9+ flutterByValueKey$$ ( value : string ) : Promise < WebdriverIO . Element [ ] > ;
1010 flutterBySemanticsLabel ( label : string ) : Flutter . Locator ;
11- flutterBySemanticsLabel$ ( label : string ) : WebdriverIO . Element ;
12- flutterBySemanticsLabel$$ ( label : string ) : WebdriverIO . Element [ ] ;
11+ flutterBySemanticsLabel$ ( label : string ) : Promise < WebdriverIO . Element > ;
12+ flutterBySemanticsLabel$$ ( label : string ) : Promise < WebdriverIO . Element [ ] > ;
1313 flutterByText ( text : string ) : Flutter . Locator ;
14- flutterByText$ ( text : string ) : WebdriverIO . Element ;
15- flutterByText$$ ( text : string ) : WebdriverIO . Element [ ] ;
16-
14+ flutterByText$ ( text : string ) : Promise < WebdriverIO . Element > ;
15+ flutterByText$$ ( text : string ) : Promise < WebdriverIO . Element [ ] > ;
16+ flutterWaitForVisible ( options : {
17+ element : WebdriverIO . Element ;
18+ locator : Flutter . Locator ;
19+ } ) : Promise < void > ;
1720 flutterDoubleClick ( element : WebdriverIO . Element ) : WebdriverIO . Element ;
1821 flutterWaitForAbsent ( options : {
1922 element : WebdriverIO . Element ;
2023 locator : Flutter . Locator ;
21- } ) : void ;
24+ } ) : Promise < void > ;
2225
2326 flutterScrollTillVisible ( options : {
2427 finder : WebdriverIO . Element ;
0 commit comments