Scroll to element not working as expected

When doing a web.scrollToElement() in 1.12 the frame would scroll down to bring the element into view. In 1.14 it no longer appears to scroll down.

Update:
Looks like it is working just not on my page. :slight_smile:

Hi,

Can you share a URL to your page, so we can test it here internally?

Sent a message in regards to this request.

Just to post here in case others want to try:
You can see similar scroll behavior here:

web.init(’’)
web.open(‘https://www.infragistics.com/angular-demos-lob/grid/grid’)
web.click(’.igx-switch__composite’)
web.click("[role=‘row’][data-rowindex=‘5’]")
web.scrollToElement("[role=‘row’][data-rowindex=‘5’]")

web.pause(20000)

An additional issue appears to be that the assertTextPresent never raises a fail exception

web.init(’’)
web.open(‘https://google.com’)
web.assertTextPresent(‘test123123123’)

Note: I would expect this not to pass after it has timed out.

Hi
Regardig Assert Text- Opened a bug- it will be fixed soon’ will keep you posted
Regarding Scroll to element:
The test case fails. is that the problem?

I expect the scrollToElement line to actually scroll to the element indicated. It fails because it never scrolls to the element.

I see, opening an issue
will keep you posted

Hi Mike

Good news!
This issue is solved in the new Oxygen version.
You can wait for the official version or download the release candidate for windows here
https://cb-dist.s3.amazonaws.com/oxygen-1.18.0-rc.8-win-x64.msi
Ortake it from Oxygen Git project

1 Like

Try the new version

1 Like

Current version is here: https://github.com/oxygenhq/oxygen-ide/releases/tag/1.20.0

All releases are here: