Appian Selenium API

The library contains methods which allow you to interact with Appian components in a browser. It can be used in a Java application or integrated directly into any Selenium or Java-based testing tool.

Appian Selenium API contains the methods that are at the core of both Cucumber for Appian and FitNesse for Appian. If you are familiar with either Appian’s FitNesse or Cucumber tools then you are already familiar with the methods provided by the Appian Selenium API. For example, the table below shows the corresponding FitNesse and Cucumber methods for the same underlying Appian Selenium API method.

Appian Selenium API

loginWithUsernameAndPassword(jString userName, String password)

FitNesse for Appian

| login with username | USERNAME | and password | PASSWORD |

Cucumber for Appian

Given I login with username "USERNAME" and password "PASSWORD"

The Appian Selenium API plug-in package includes:

  • The Appian Selenium API jar
  • Javadocs
  • An example of how to use the API in a Java application
  • An example of how to use the API in a Cucumber test 

The Appian Selenium API plug-in supports both Chrome and Firefox browsers. See the Appian Playbook for more information: Automated Testing with Appian Selenium API

Note on Appian Versions:

With each Appian release, a new version of the plug-in is also released to support the latest Appian components. This plug-in is backwards compatible, ensuring that you do not need to update your test cases when upgrading to new Appian versions.

  • v22.4 Release Notes
    • Update Chromedriver to v107
    • Add support Appian 22.4

  • Can you please share the selenium and serenity compatible versions for the latest version of selenium api 22.3.1? 

  • Getting error while running the scripts after upgrading the selenium api from 22.2 to 22.3.1. suspect it is a compatibility issue. Could you please advise the compatible selenium and serenity plugins for the new jar.  The issue comes only when we are using 22.3.1. The script is working with previous version jar files.

    net.serenitybdd.core.exceptions.SerenityManagedException: 'void<init>(org.openqa.selenium.WebDriver, java.time.Duration)'
    at com.westpac.etad.step.LoginSteps.loginToDeregApplication(
    at com.westpac.etad.step.LoginSteps$$EnhancerByCGLIB$$3e5bb7f8.CGLIB$loginToDeregApplication$2(<generated>)
    at com.westpac.etad.step.LoginSteps$$EnhancerByCGLIB$$3e5bb7f8$$FastClassByCGLIB$$4d07a50.invoke(<generated>)
    at net.sf.cglib.proxy.MethodProxy.invokeSuper(
    at net.thucydides.core.steps.StepInterceptor.invokeMethod(
    at net.thucydides.core.steps.StepInterceptor.executeTestStepMethod(
    at net.thucydides.core.steps.StepInterceptor.runTestStep(
    at net.thucydides.core.steps.StepInterceptor.runOrSkipMethod(
    at net.thucydides.core.steps.StepInterceptor.testStepResult(
    at net.thucydides.core.steps.StepInterceptor.intercept(

  • v22.3.1 Release Notes
    • Update Chromedriver to v104
    • Bug fixes: Fix TempoRecordTypeUserFilter's clear method to work for newer versions of Chrome
  • Editable and Read Only Grid SAIL components cannot find the grid element from accessibityText, although documentation says so. The XPath selector currently only works if you have a label. Tested on version 22.2.1. Currently, we are adding hidden labels so that automation passes. Still, the following XPath does not work for accessibility text as documented because the following sibling does not exist for accessibility text as it's already the parent to the grid.
    Current selector used when looking up the grid:

    //span[contains(translate(text(),'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'),'your accessibility text or label here')]/parent::div/following-sibling::div/descendant::table[contains(@class, '---table')]/ancestor::div[contains(@class, 'FieldLayout---field_layout')][position()=1]

    The selector should be updated to be as follows if you want to support finding the grid by either labels or accessibility text or both as documented:

    //span[contains(translate(text(),'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'),'your accessibility text or label here')]/parent::div/parent::div/descendant::table[contains(@class, '---table')]/ancestor::div[contains(@class, 'FieldLayout---field_layout')][position()=1]

  • v22.3.0 Release Notes
    • Enhancements
    • Supports Appian version 22.3 (Remove support for 20.3)
  • v22.2.1 Release Notes
    • Fix usages of deprecated WebDriverWait constructor
  • Is appian-selenium-api published to the maven central repository? I can't seem to locate it and I was wondering why it would not be. The solution of including it as a system jar like I have pasted below is flagged by Maven as a warning that it may not be supported in future Maven versions


  • v22.2.0 Release Notes
    • Enhancements
    • Supports Appian version 22.2
    • Bug Fixes
    • Fix GridContents failures related to HTML updates in 22.2
  • v22.1.2 Release Notes
    • Added index based selection support to click on button function.