webdriverio: [๐Ÿ› Bug]: Request failed with status 500 if using scrollIntoView()

Have you read the Contributing Guidelines on issues?

WebdriverIO Version

8.16.16

Node.js Version

20.5.1

Mode

Standalone Mode

Which capabilities are you using?

{
      maxInstances: 1,
      browserName: 'chrome',
      'goog:chromeOptions': {
        args: process.env.CI
          ? ['--headless', '--disable-gpu', '--no-sandbox'] : ['--start-maximized'],
      },
    },

What happened?

When I use method scrollIntoView(), I receive an error message ERROR webdriver: Request failed with status 500 due to move target out of bounds: move target out of bounds in console, although the method works as expected.

What is your expected behavior?

Console without errors.

How to reproduce the bug.

https://github.com/Lara2409/e2e - code example

Relevant log output

[0-0] 2023-09-29T15:02:06.175Z ERROR webdriver: Request failed with status 500 due to move target out of bounds: move target out of bounds
[0-0]   (Session info: chrome=117.0.5938.92)

Code of Conduct

  • I agree to follow this projectโ€™s Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

About this issue

  • Original URL
  • State: closed
  • Created 9 months ago
  • Reactions: 1
  • Comments: 16 (11 by maintainers)

Most upvoted comments

Thanks for sharing but we know @udarrr

@erwinheitzman youโ€™re right. The test executes as expected.

And after testing with the latest I do still see the error as well, so Iโ€™ll dive into that. Apologies, not sure why itโ€™s showing still after testing last night.