我已经写了查询检查进度条是否出现在视图中。我发出以下命令,但它不起作用
query("progressbar class:'android.widget.ProgressBar'")
当我发出 query("*") 命令时,它将作为元素之一返回
[8] {
"id" => "progress",
"enabled" => true,
"contentDescription" => nil,
"class" => "android.widget.ProgressBar",
"rect" => {
"center_y" => 419.0,
"center_x" => 194.0,
"height" => 72,
"y" => 383,
"width" => 72,
"x" => 158
},
"description" => "android.widget.ProgressBar@4138e948"
},
任何人都知道如何使用查询命令获取进度条元素?
提前致谢