File tree Expand file tree Collapse file tree 2 files changed +17
-15
lines changed
extensions/flutter_integration Expand file tree Collapse file tree 2 files changed +17
-15
lines changed Original file line number Diff line number Diff line change @@ -35,18 +35,19 @@ class AppiumBy(By):
3535 FLUTTER_INTEGRATION_TEXT = '-flutter text'
3636 FLUTTER_INTEGRATION_TEXT_CONTAINING = '-flutter text containing'
3737
38+
3839ByType = Literal [
39- " -ios predicate string" ,
40- " -ios class chain" ,
41- " -android uiautomator" ,
42- " -android viewtag" ,
43- " -android datamatcher" ,
44- " -android viewmatcher" ,
45- " accessibility id" ,
46- " -image" ,
47- " -custom" ,
48- " -flutter semantics label" ,
49- " -flutter type" ,
50- " -flutter key" ,
51- " -flutter text containing" ,
40+ ' -ios predicate string' ,
41+ ' -ios class chain' ,
42+ ' -android uiautomator' ,
43+ ' -android viewtag' ,
44+ ' -android datamatcher' ,
45+ ' -android viewmatcher' ,
46+ ' accessibility id' ,
47+ ' -image' ,
48+ ' -custom' ,
49+ ' -flutter semantics label' ,
50+ ' -flutter type' ,
51+ ' -flutter key' ,
52+ ' -flutter text containing' ,
5253]
Original file line number Diff line number Diff line change 1717
1818from typing import Tuple
1919
20- from appium .webdriver .common .appiumby import AppiumBy
20+ from appium .webdriver .common .appiumby .AppiumBy import By as AppiumBy
21+ from appium .webdriver .common .appiumby .AppiumBy import ByType
2122
2223
2324class FlutterFinder :
24- def __init__ (self , using : str , value : str ) -> None :
25+ def __init__ (self , using : ByType , value : str ) -> None :
2526 self .using = using
2627 self .value = value
2728
You can’t perform that action at this time.
0 commit comments