Mouse scroll to element not working

Hello,

Trying to use mouse scroll to element activity.

On runtime, it is not scrolling down.

Any assistance on this?

Thanks

@nikhil.chandre

check the reference

@nikhil.chandre

You can try to change Cursor Motion type: Smooth and Input Type : Chromium API.

image

Thanks,
Ashok :slight_smile:

@nikhil.chandre

If the “Mouse Scroll To Element” activity is not scrolling down as expected during runtime, there could be several reasons for this behavior. Here are some troubleshooting steps and potential solutions:

  1. Ensure the Target Element Exists: Double-check that the target element exists on the page and is visible. If the element is not present or is hidden, the scrolling action might not work as expected.
  2. Adjust Scroll Amount: The “Mouse Scroll To Element” activity has an option to specify the number of scrolls. Try adjusting this value to scroll a greater distance. Increase the scroll amount and see if it helps to scroll down to the element.
  3. Check Scroll Direction: Ensure that you’re specifying the correct scroll direction. If you want to scroll down to the element, make sure you’re selecting the “Down” option in the activity properties.
  4. Scroll Timeout: Sometimes, the activity might not wait long enough for the scrolling action to complete, especially if the page is large or the scrolling speed is slow. Try increasing the timeout value in the activity properties to allow more time for the scrolling action to complete.
  5. Test in Different Browsers: Test the workflow in different web browsers to see if the issue persists across browsers. Sometimes, browser-specific behavior or compatibility issues can affect scrolling actions.
  6. Inspect Page Structure: Inspect the HTML structure of the page to ensure there are no elements overlapping or obstructing the target element. If there are overlapping elements, the scrolling action might not reach the desired element.
  7. Use Alternative Methods: If the “Mouse Scroll To Element” activity continues to be problematic, consider using alternative methods for scrolling, such as sending keyboard shortcuts (e.g., sending the Page Down key) or executing JavaScript code to scroll the page.
  8. Update UiPath Studio and Packages: Ensure that you’re using the latest version of UiPath Studio and that all relevant packages, including the UiPath.UIAutomation activities package, are up-to-date. Sometimes, issues with activity behavior are resolved in newer versions or updates.

have tried this option. still not working