/** * Clicks on download public key * * @return path to downloaded public key file */ public String downloadSeamlessEncryptionPublicKey() { Element.click( testConfig, SeamlessEncryptionKeyDownloadButton, "Seamless Encryption Public Key Download Button"); String DownloadPath = System.getProperty("user.home") + "\\Downloads"; String PublicKeyPath = Browser.DesiredFileDownload(testConfig, DownloadPath, "PublicKey").getAbsolutePath(); return PublicKeyPath; }