File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
maestro-client/src/main/java/maestro Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -54,10 +54,6 @@ object Filters {
5454 nodes.filter { this (it) }
5555 }
5656
57- fun nonClickable (): ElementFilter {
58- return { nodes -> nodes.filter { it.clickable == false } }
59- }
60-
6157 fun textMatches (regex : Regex ): ElementFilter {
6258 return { nodes ->
6359 val textMatches = nodes.filter {
@@ -185,14 +181,6 @@ object Filters {
185181 }
186182 }
187183
188- fun containsChild (other : UiElement ): ElementLookupPredicate {
189- val otherNode = other.treeNode
190- return {
191- it.children
192- .any { child -> child == otherNode }
193- }
194- }
195-
196184 fun containsChild (childFilter : ElementFilter ): ElementFilter {
197185 return { nodes ->
198186 val matchingChildren = childFilter(nodes).toSet()
You can’t perform that action at this time.
0 commit comments