Skip to main content

Scroll into view on a website

Written by Wrk Product
Updated today

Scroll to an element or to a location on a website.

Application

  • Web Process Automation

Inputs (what you have)

Name

Description

Data Type

Required?

Example

Browser session ID

The unique identifier of the browser instance. Can be retrieved from "Open a browser session" Wrk Action. Example: fb9bc380-146c-420e-9130-50ce93614e05

Text (Short)

Yes

Scroll type

Whether to scroll to an element or a location on the page

Predefined Choice List

Yes

Scroll location

If scroll type is location.

The location of the website you would like to scroll to

  • Top

  • Bottom

  • Down

  • Up

Predefined Choice List

Yes

Bottom of Page

Selection method

The method you will use to identify the element

  • Advanced

  • Legacy

Predefined Choice List
​

Yes

Advanced

Element identifier

The selector of the element you want to scroll to

Text(Long)

Yes

#submit-button

Match Index

If selection method is Advanced, the index of the selector you like to scroll to

Number

No

2

Outputs (what you get)

Name

Description

Data Type

Required?

Example

Unsuccessful screenshot

If unsuccessful, a screenshot of the website

File

No

Unsuccessful message

If unsuccessful, a message stating what went wrong

Text (Long)

No

Outcomes

Name

Description

Success

This status is selected if the job has successfully completed.

Unsuccessful

This status is selected if the job has completed unsuccessfully.

Requirements

  • N/A

Did this answer your question?