Common Legal Functions
This section documents common legal functions used in the automation testing suite.
EIN
-
EIN(page, value)
Fills in the EIN field
- Arguments:
-
- Returns:
Promise –
fillFirmName
-
fillFirmName(page, value)
Fills in the Firm Name field
- Arguments:
-
- Returns:
Promise –
fillLegalFieldWithWait
-
fillLegalFieldWithWait(page, fillFunction, value, waitTime)
Fills a legal field and waits a standard amount of time afterward
- Arguments:
page (Page) – The Playwright page object
fillFunction – The function that fills the field
value (string) – The value to fill in the field
waitTime (number) – Optional wait time in ms (default: 2000)
- Returns:
Promise –
legalCity
-
legalCity(page, value)
Fills in the Legal City field
- Arguments:
-
- Returns:
Promise –
legalName
-
legalName(page, value)
Fills in the Legal Name field
- Arguments:
-
- Returns:
Promise –
legalState
-
legalState(page, value)
Fills in the Legal State field
- Arguments:
-
- Returns:
Promise –
legalStreetName
-
legalStreetName(page, value)
Fills in the Legal Street Address field
- Arguments:
-
- Returns:
Promise –
legalSuiteAptNumber
-
legalSuiteAptNumber(page, value)
Fills in the Legal Suite/Apt Number field
- Arguments:
-
- Returns:
Promise –
legalZipCode
-
legalZipCode(page, value)
Fills in the Legal Zip Code field
- Arguments:
-
- Returns:
Promise –
stateFilingNumber
-
stateFilingNumber(page, value)
Fills in the State Filing Number field
- Arguments:
-
- Returns:
Promise –
stateOfIncorporation
-
stateOfIncorporation(page, value)
Selects the State of Incorporation
- Arguments:
-
- Returns:
Promise –
stateOfOperating
-
stateOfOperating(page, value)
Selects the State of Operating
- Arguments:
-
- Returns:
Promise –