Android UiScrollable(new UiSelector() throwing error

Hi there,

I’m trying to scroll down to an element using the android scroll function but i keep seeing this error

invalid selector: Invalid CSS selector ‘new UiScrollable(new UiSelector().scrollable(false)).scrollIntoView(new UiSelector().resourceIdMatches(“com.chicken.www:id/EntryContainer”))’. Reason: ‘Error: Rule expected but “(” found.’

This is the line of code im executing
await $(‘new UiScrollable(new UiSelector().scrollable(false)).scrollIntoView(new UiSelector().resourceIdMatches(“com.chicken.www:id/EntryContainer”))’)

Is it referring to the element that is wrong or am i doing something wrong?

btw, please go easy on me i’m a newbi in coding.

Appreciate all the help!