Skip to main content

Drawing Path CAPTCHA

Sophie avatar
Written by Sophie
Updated over 2 weeks ago

Definition and Usage

Complete a drawing path CAPTCHA by dragging cursor along the required path until it reaches the end point. This command uses AI to analyze drawing path CAPTCHA images and either automatically complete the verification by dragging along the required path or return the endpoint coordinates for further processing.


Parameter Values

Input parameters

Parameter

Description

Possible Values

Required

Options / Notes

AI engine

Please select the CAPTCHA engine you need to use

Octoparse AI

Yes

Requires platform credits. Ensure sufficient balance.

Image source

Select the CAPTCHA image to be recognized

UI element, Web element

Yes

Web page

Select a variable that contains the web page to work with

Yes

Only required when Image source is "Web element"

CAPTCHA Image

Select the image for the drawing path CAPTCHA

Yes

You can use the Capture button to select an element

Auto-complete verification

Check to automatically drag the required path

No

If unchecked, the command will only return the endpoint coordinates

Advanced settings

Parameter

Description

Required

Options / Notes

Element timeout (s)

Wait time for element to appear (seconds)

No

Default: 20 seconds

Error handling

Parameter Name

Description

Throw error & stop

When an error occurs, the action will trigger an error and stop the execution of the entire app

Retry command

If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process

Ignore error & continue

When an error occurs, the action will be ignored, and the workflow will continue without interruption

Variables produced

This action produces a variable containing the path endpoint coordinates list, which can be stored in a specified variable name.


Using Variables in Conditions

You can use the output variable (containing endpoint coordinates) in subsequent actions by referencing it with the {x} notation. This is particularly useful when you need to manually perform actions based on the identified path endpoints.


Notes

  • Drawing path CAPTCHAs typically require dragging a cursor from a starting point to an endpoint along a specific path.

  • The AI engine analyzes the image to determine the required path and can either automatically complete the verification or just provide endpoint coordinates.

  • Ensure the CAPTCHA image is clearly visible and properly selected for accurate recognition.

  • This command requires Octoparse AI credits to execute, with the cost displayed in the interface.

  • If the Auto-complete verification option is unchecked, you will need to implement your own logic to use the endpoint coordinates.

Did this answer your question?