Web Connector 26.3
Web Connector Help

# 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.
fillFormInput | Enters a value into an HTML form.
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 2026 Open Text
Version 26.3 | Last updated July 2026

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Web Connector 26.3

Topic Title: LuaClientSession Methods