feat(simulation): add literal screen text matching (#36085)
This commit is contained in:
parent
aa0e626b12
commit
855a9569b5
5 changed files with 45 additions and 0 deletions
|
|
@ -21,6 +21,8 @@ async function handle(
|
|||
case "ui.state": {
|
||||
return SimulationActions.state(harness)
|
||||
}
|
||||
case "ui.matches":
|
||||
return SimulationActions.matches(harness, request.params.text)
|
||||
case "ui.recording.finish":
|
||||
if (!finishRecording) throw new Error("UI recording is not available")
|
||||
return finishRecording()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue