As this version of Segen was developed to generate test scripts for Selenium and Selendroid only in Java, we used a library to generate code in Java called JavaPoet4.
the architecture of Segen has been prepared to add, in the future, generators of scripts in other languages.