@korthresh
What version of BAS are you using?
What OS do you have?
Do you use a fingerprint when the problem occurs?
Does this happen constantly? Just on this page element or on other elements as well?
How can I replicate this intentionally? Are there any specific steps?
Try printing ( with log) the command you are trying to execute, run it in a seperate command line to see if it's working properly.
since it's related to input I am suspecting the problem is with the youtube url you are providing