Web Connector 12.13

# LuaClientSession Methods

A `LuaClientSession` object provides methods for interacting with a web page that is being processed by the Web Connector. For more information, see Scripted Processing.

If you have a `LuaClientSession` object called `session` you can call its methods using the '`:`' operator. For example:

    session:waitForQuiet(250, 10000)

Method | Description
--- | ---
attributeValue | Returns the value of an attribute on an element that matches a CSS selector.
clickElement | Clicks an element on a web page.
countElements | Returns the number of elements on a web page that match a CSS selector.
elementText | Returns the inner text of an element on a web page.
executeJavascript | Runs JavaScript on a web page.
snapshotPage | Takes a snapshot of a web page for indexing.
waitForQuiet | Forces the connector to wait until there has been a specified amount of inactivity.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Web Connector 12.13

Topic Title: LuaClientSession Methods