puppeteer
Service icon

Puppeteer

Stable version 1.1.0 (Compatible with OutSystems 11)
Uploaded
 on 26 Jun (yesterday)
 by 
5.0
 (1 rating)
puppeteer

Puppeteer

Details
Execute a web page including running JavaScript in a headless browser using PuppeteerSharp. Both anonymous and authenticated pages will be loaded. The component will load an authenticated page and handle the redirect to the login page if it occurs and the username and password are provided. The login page must handle deep linking to return to the requested page. Process actions such as goto, click, type and wait.
Read more

Execute a web page including running JavaScript in a headless browser using PuppeteerSharp.

Both anonymous and authenticated pages will be loaded.

The component will load an authenticated page and handle the redirect to the login page if it occurs and username and password are provided. The login page must handle deep linking to return to the requested page.

The available actions are:

GOTO Navigate to a URL. The Value is the URL to navigate to, the Selector is the element to wait for after navigation.

CLICK Click on an element. The Selector is the element to click on.

CLICKGOTO Click on an element and then wait for navigation to another page. The Selector is the element to click on.

TYPE Type a value into an element. The Selector is the element to type into, the Value is the value to type.

WAIT Wait for an element to become visible. The Selector is the element to wait for.



Release notes (1.1.0)

This version introduces the ability to evaluate JavaScript expressions and return the result. An evaluated expression can also be stored in a temporary variable for use in a subsequent expression.

Actions may be skipped by specifying a conditional expression. If the expression evaluates to true, the action will be skipped. If a SkipToActionIdOnFalse is specified, if there is a conditional expression and it evaluates to false, then actions will be skipped until the matching ActionId is found.

The additional actions are:

STOREVAR Selector = The name of a variable to store a value. Value = The expression to evaluate to produce the value.

GETVALUE Value = The expression to evaluate to retrieve the value. Before the expression is evaluated, any text formatted as ${VARIABLE} will be replaced with the stored variable. If there is no stored variable the ${VARIABLE} text will be left unchanged.

License (1.1.0)
Reviews (1)
by 
21 May
in version 1.0.0
good component.
Team
Other assets in this category