Web Connector 23.4

# 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 2023 Open Text
Version 23.4 | Last updated September 2023

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 23.4

Topic Title: LuaClientSession Methods