Minor Changes
-
f443bac:
qawolf runner inspect elementscan now find elements by a hand-written selector:--selector "<selector>" [--strategy xpath|ios-predicate|shadow](strategy defaults toxpath), alongside the existing--x/--yand--text/--partial. This is the mobile equivalent ofinspect element-html --selectoron a browser runner — the only way before this was injecting aconsole.logviarunner execand reading the count back out ofrunner events console. An unparseable selector answersinvalid-selector, distinctly from a selector that parsed fine but matched nothing (an emptymatcheslist) — the same distinctionhighlight-selectordraws on a browser runner.Breaking change:
--byis no longer a flag onelements. Which of the three ways to search you used is now evident from which flags are present (--x/--y,--text/--partial,--selector/--strategy), and the three refuse to mix. A script passing--by pointor--by textneeds to drop it.