How do you control any website like youtube using web viewer?

How to control any website like you tube using web viewer.
And do some simple task like scrolling using button or clicking a video using a button

Maybe explain what you have tried and what you are trying to achieve because what you want is maybe against YouTubes terms of service.

youtube or any website

What does that mean?

I need to make a gesture control robot in which i will use rotation sensor with ardiano and bluthooth module. So, now i need to scroll instagram or youtube using gessture. Al gesture one have done but i need how to control the particular website....
Please Help

Those two activities appear to be completely unrelated ?

i will put the rotation sensor on my hand

you can use webviewer extension

there's plenty of advanced features probably it will help you.