Skip to main content

Optimizing Agent Commands

Action commands such as Navigate Link and Navigate URL commands are much slower to execute than commands that simply capture content, so it's important to try and limit the number of action commands in your agents. If you can access a target web page directly with a direct URL, rather than clicking multiple links, then you should always opt for the direct URL.

Many dynamic websites show and hide content when you click on buttons or links. Sequentum Enterprise can extract both visible and hidden content, so it's often not necessary to add an action command that simply makes content visible.

Optimizing Browser Activities

An agent spends most of its time waiting for web pages to load, and Sequentum Enterprise cannot always determine exactly when a page load or page action has completed, so it sometimes ends up waiting longer than it has to. If the agent starts extracting data too early, it may not be able to extract the data correctly, since some data may not have loaded onto the web page yet.

An action command uses a set of timeout values to determine how long it should wait for new activities. These timeout values are set fairly conservatively to make sure they are long enough for slow computers and slow Internet connections. You may be able to lower these timeout values, so an action command completes faster without failing to extract content correctly.

optimizingAgentCommands.png

Default activity timeout values

Important: If an action command is configured to use Default wait times, its timeout values will be ignored and it will instead use the timeout values of its parent action command.

defaultwaittimes.png
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.