Send keys and scroll

Hi ,
I’ve tried to add Send keys addon and do the down or arrow down , but it doesn’t seem to be working . Is there any other alternate so that i can do the keys down from keyboard

Also there are two scroll bars in the page the outer one is identified through Tp , but hen im trying to access the one inside the page , scroll isn’t working .
Any solution or alternate for this

Thanks

Hi @hkethireddy
You can use the execute JavaScript action to scroll inside an element
here is an example how:

First i will copy the js path of the element i want to scroll to, you can do this by right clicking the element and clicking inspect.
Then right click the element opened in devtools and click copy js path

After that create a new step in the recorder with the action execute JavaScript and past the js path there

Then add this to your js path

.scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'start' })

and result in my case is

and then execute this action this would scroll inside an element to the element you chose.

Please let me know if you managed.

Kind regards
Tal

This topic was automatically closed after 180 days. New replies are no longer allowed.