Skip to content

[🐛 Bug]: Request failed with status 500 if using scrollIntoView() #11272

@Lara2409

Description

@Lara2409

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions