fix a bug caused by 'Wait until element is visible'.

Signed-off-by: autoqa <autoqa@yul-o-autoqa01>