Merge pull request #267 from getmaxun/click-fix
fix: skip click action if selector not visible
This commit is contained in:
@@ -517,7 +517,11 @@ export default class Interpreter extends EventEmitter {
|
||||
try {
|
||||
await executeAction(invokee, methodName, step.args);
|
||||
} catch (error) {
|
||||
await executeAction(invokee, methodName, [step.args[0], { force: true }]);
|
||||
try{
|
||||
await executeAction(invokee, methodName, [step.args[0], { force: true }]);
|
||||
} catch (error) {
|
||||
continue
|
||||
}
|
||||
}
|
||||
} else {
|
||||
await executeAction(invokee, methodName, step.args);
|
||||
|
||||
Reference in New Issue
Block a user