Using Poshi Resources¶
Once the Poshi resources jar file is loaded onto your Poshi project, you are now able to use Liferay’s commonly used functions, paths, and macros. To distinguish between files from the Poshi resources jar file and those from the local file system, use the following name spaces.
Defaultwith functions from the Liferay Portal functions github directory as in the Click function below:
Default.Click(locator1 = "//body")
Portalin the following cases:
Poshi files from the local file system do not require a namespace prepended and are automatically assigned the LocalFile namespace.