fix: skip click action if selector not visible

This commit is contained in:
RohitR311
2024-12-17 21:55:24 +05:30
parent 4469325925
commit e34cfda770

View File

@@ -506,7 +506,11 @@ export default class Interpreter extends EventEmitter {
try {
await executeAction(invokee, methodName, step.args);
} catch (error) {
try{
await executeAction(invokee, methodName, [step.args[0], { force: true }]);
} catch (error) {
continue
}
}
} else {
await executeAction(invokee, methodName, step.args);