( action: SessionAction, selectorExpr: string, )
| 101 | } |
| 102 | |
| 103 | function optimizeFillAction( |
| 104 | action: SessionAction, |
| 105 | selectorExpr: string, |
| 106 | ): SessionAction | undefined { |
| 107 | const text = inferFillText(action); |
| 108 | return text.length > 0 ? { ...action, positionals: [selectorExpr, text] } : undefined; |
| 109 | } |
| 110 | |
| 111 | function optimizeLongPressAction(action: SessionAction, selectorExpr: string): SessionAction { |
| 112 | const durationMs = |
no test coverage detected