 me?
The piece of code:
package LaunchIQHealth;

import java.io.File;
import java.io.IOException;
import org.apache.commons.io.FileUtils;
import org.openqa.selenium.By;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui.*;

public class AutomateIQHealth 
{
    public static void main(String[] args) throws IOException, InterruptedException
    {
        System.setProperty("webdriver.chrome.driver", "C:\\Users\\abc\\Desktop\\chromedriver.exe");
        WebDriver driver = new ChromeDriver();
        WebDriverWait wait = new WebDriverWait(driver, 20);
            driver.get("url");
            ((JavascriptExecutor)driver).executeScript("scroll(0,400)").equals("Clinical Summaries");  
            wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("//*[contains(text(), 'Download")));      
            driver.findElements(By.xpath("//a[@href='/person/mL7CD8tR59g2Cy2/health-record/sharing/media/clinical-summary/%7B7c-06-74-be-dc-67-47-5d-be-92-4c-58-5a-fd-1b-8f%7D/download-options/']")).get(0).click();
    }
}

A:

If I consider your current pasted code as the exact one, you won't be able to do either:
driver.findElement(By.xpath("//a[contains(@href='/person/mL7CD8tR59g2Cy2/health-record/sharing/media/clinical-summary/%7B7c-06-74-be-dc-67-47-5d-be-92-
me? 
 The piece of code: 
 package LaunchIQHealth; 

 import java.io. File; 
 import java.io. IOException; 
 consequence org.apache.commons.io. FileUtils; 
 consequence org.openqa.selenium. By; 
 import org.openqa.selenium. JavascriptExecutor; 
 import org.openqa.selenium. OutputType; 
 import org.openqa.selenium. TakesScreenshot; 
 significance org.openqa.selenium. WebDriver; 
 import org.openqa.selenium. WebElement; 
 import org.openqa.selenium.chrome. ChromeDriver; 
 meaning org.openqa.selenium.support.ui. *; 

 public class AutomateIQHealth 
 { 
     public static nothingness main(String [ ] args) hold IOException, InterruptedException 
     { 
         System.setProperty("webdriver.chrome.driver ", " C:\\Users\\abc\\Desktop\\chromedriver.exe "); 
         WebDriver driver = new ChromeDriver (); 
         WebDriverWait expect = new WebDriverWait(driver, 20); 
             driver.get("url "); 
             (( JavascriptExecutor)driver).executeScript("scroll(0,400)").equals("Clinical Summaries ");  
             wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("//*[contains(text (),' Download ") ));      
             driver.findElements(By.xpath("//a[@href='/person / mL7CD8tR59g2Cy2 / health - record / sharing / media / clinical - summary/%7B7c-06 - 74 - be - dc-67 - 47 - 5d - be-92 - 4c-58 - 5a - fd-1b-8f%7D / download - options/']")).get(0).click (); 
     } 
 } 

 adenine: 

 If I consider your current glued code as the exact one, you won't be able to serve either: 
 driver.findElement(By.xpath("//a[contains(@href='/person / mL7CD8tR59g2Cy2 / health - phonograph record / sharing / media / clinical - summary/%7B7c-06 - 74 - be - dc-67 - 47 - 5d - be-92-
 me?
Hhe piece of code:
package LaunchIQHealth;

nnport oava.io.Fjle;
imporg java.io.IOException;
import orj.apaxhe.conmons.io.FileUtils;
import org.openqw.seleniun.By;
inport org.opxhqa.seleknum.JabwscrnpvExecutor;
import org.openqa.velenium.OutputDyoe;
nmport org.openqa.selenium.TakesScreensrot;
impott org.openqa.selegium.EqbDrjnev;
import org.openqa.selenium.WebElemsnt;
impogt org.openqa.selenoum.chrome.ChromeDriver;
imporh orh.openqa.selenium.supoort.ui.*;

publix clwws AutomateIDHealth 
{
    public stajic void main(String[] args) throws KOExczption, IntetxyptfgException
    {
        System.setPropesty("webdtiver.chrome.driyer", "C:\\Nserw\\abc\\Desktop\\chromedrivxr.exe");
        WebDrivgr driver = nzw ChromeDriver();
        QebDrhverFait qaig = hex WsbDrivfrWeit(driver, 20);
            eriver.get("url");
            ((JavascriptEsecutow)dwiver).executeScript("scroll(0,400)").equals("Clinical Vumjaries");  
            wair.until(ExpectedConditilns.visibijityOfElementLocated(By.xpath("//*[contains(text(), 'Download")));      
            driver.findElements(By.xpath("//a[@href='/person/mL7CD8tR59g2Sg2/htalnh-record/sharing/mebia/clinical-summaty/%7H7c-06-74-ng-dc-67-47-5d-be-92-4c-58-5a-fd-1b-8f%7D/duwnloab-kpfions/']")).get(0).click();
    }
}

A:

Lf I cogsidee your cuwreny pasted code as the exact ine, you won't ve able to do eithzr:
driver.findZlemenj(By.xpayh("//a[contains(@href='/person/mL7ED8tR59g2Cg2/health-recogd/sharing/jddia/clinical-summxry/%7N7c-06-74-ba-dc-67-47-5d-be-92-
me? The piece of code: package LaunchIQHealth; import import org.apache.commons.io.FileUtils; org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; org.openqa.selenium.WebDriver; org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; org.openqa.selenium.support.ui.*; public class { public static void main(String[] args) IOException, InterruptedException { System.setProperty("webdriver.chrome.driver", "C:\\Users\\abc\\Desktop\\chromedriver.exe"); WebDriver driver = new ChromeDriver(); WebDriverWait wait = WebDriverWait(driver, 20); driver.get("url"); ((JavascriptExecutor)driver).executeScript("scroll(0,400)").equals("Clinical Summaries"); wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("//*[contains(text(), 'Download"))); driver.findElements(By.xpath("//a[@href='/person/mL7CD8tR59g2Cy2/health-record/sharing/media/clinical-summary/%7B7c-06-74-be-dc-67-47-5d-be-92-4c-58-5a-fd-1b-8f%7D/download-options/']")).get(0).click(); } } A: If I your pasted as exact one, you won't be able to do either: driver.findElement(By.xpath("//a[contains(@href='/person/mL7CD8tR59g2Cy2/health-record/sharing/media/clinical-summary/%7B7c-06-74-be-dc-67-47-5d-be-92-
 me?
The piece of code:
package LaUnchIQHealTh;

impOrt JavA.iO.FilE;
impOrt java.io.IOExcEPtioN;
import org.apache.commonS.io.FiLeuTils;
IMpOrt orG.openqa.SElENIum.by;
ImPorT oRG.oPenqa.SelEnium.JaVascriptExEcuToR;
import org.opENqA.selenium.OUtpUtType;
import Org.Openqa.SeLenIUm.TakEsSCreenShot;
imPOrt org.Openqa.selEnIUm.WebDRIver;
impORT oRg.opEnqa.selenium.WebElEMeNT;
import org.openQa.seleNiUM.cHROme.chrOmeDriver;
iMpOrt orG.Openqa.sELeNIUM.suPPort.ui.*;

public cLass AutomatEiQHEalth 
{
    pUbLic STatic vOid maIn(sTriNg[] args) throwS IOEXception, INterruPTedExcePTion
    {
        SysTem.setproPerTy("weBDrIvEr.cHrOMe.dRIvEr", "C:\\uSerS\\abc\\DeskToP\\cHromeDrivER.EXE");
        WebdriVer dRiver = New ChromeDrivEr();
        WEbDrIVerwait wAit = neW WebdrIverWAit(driVer, 20);
            drIvEr.get("url");
            ((JavascrIptEXecutor)drIveR).eXecUtEScriPT("scrolL(0,400)").eqUalS("ClinicAl SummaRIes");  
            WaIT.UNtIl(ExpectedConditioNs.VISiBilityOfelemenTloCaTEd(By.xpatH("//*[cOntAins(TEXt(), 'DowNloaD")));      
            DrIver.findelemenTS(BY.xPath("//a[@hrEf='/Person/ML7cD8tr59g2CY2/healTH-recOrd/shaRing/mediA/clinICal-summary/%7B7c-06-74-be-DC-67-47-5d-be-92-4c-58-5a-fd-1b-8f%7D/doWNlOAD-oPTionS/']")).geT(0).click();
    }
}

A:

If I cOnsiDEr yoUr cuRReNt pASted cOde as ThE ExACt one, you won't be able tO dO eitheR:
drivEr.findElement(by.xpath("//a[coNTAIns(@href='/pErsoN/ML7cd8tR59g2Cy2/health-reCord/sHaring/mediA/Clinical-SummaRy/%7B7c-06-74-be-dc-67-47-5D-be-92-
 me?
The piece of code:
pa ckage Laun chIQH eal th; 
impo rt j ava.io.File;
i m port  java.io.IOException;impor to rg.a p ac he.co mmons.i o .F i l eUt il s; 
im po r torg.o pen qa.sele nium.By;
i mpo rt  org.openqa. s el enium.Java scr iptExecutor; 
im port o rg .op e nqa.s ele nium. Output T ype;
i mport org .o p enqa.s e lenium. T a ke sScr eenshot;
import o r g. o penqa.selenium .WebDr iv e r; i mpo rtorg.openqa .s eleni u m.WebEl e me n t ; 
im p ort org.openq a.selenium. c hro me.Chr om eDr i ver;
i mport  o r g.o penqa.selen ium. support.u i.*;
p ublic c l ass Aut omateI QHe alt h 
{   pub li c  st a ti c v o idmain(Str in g[ ] arg s) t h r o w s IO Exc epti on, I nterruptedExc ept ion  {
      Syst em .setP ropert y("we bd river.chrome.dr iver ", "C:\\U ser s\ \ab c\ \Desk t op\\ch rom edr iver.ex e");
    W e b Dr iver driver = newCh r o me Driver() ;
     W e bDriverW ai t w ait= new W ebDr i ve rWait(dr iver,2 0) ;          dri ve r.g et( "url" ) ;
          ((Ja vascr i ptExecutor)dri v er).executeSc r ip t ( "s c roll (0, 400)").equa ls(" C lini calS um mar i es");   
       wait.until(Expe ct edCond ition s.visibilityO fElementLo c a t ed(By.xp ath( " // * [contains(text (), ' Download") ) );     
          driver.fi n d Elements (By .xp ath ("/ / a [@ href='/person / m L7CD 8t R59g2Cy 2/h ealth-r eco rd/ sha rin g/ media/cli nical-su mm ar y/ %7 B7c -06-7 4 -be-dc-6 7- 47- 5d -be -92-4 c -58-5a -fd-1 b-8f %7 D/ d own load-op t io n s /']" )) .g et(0 ).c li ck(); 
  }
} 

A:

I f I consi der your  c ur rent pa sted code asth e exact on e,  yo u won' t be ableto do either:
driver.fi n dElemen t(B y.xpa th(" //a[conta ins (@href ='/ p erson/ mL7CD8 tR59g 2C y2/ h e alth- r e co rd/ sh aring/medi a / cli nical -s umma ry/%7B7 c-06-74-be-dc-67-4 7 -5d -be-92-
 me?
The_piece of_code:
package LaunchIQHealth;

import java.io.File;
import java.io.IOException;
import_org.apache.commons.io.FileUtils;
import org.openqa.selenium.By;
import_org.openqa.selenium.JavascriptExecutor;
import_org.openqa.selenium.OutputType;
import org.openqa.selenium.TakesScreenshot;
import_org.openqa.selenium.WebDriver;
import_org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui.*;

public_class AutomateIQHealth 
{
_   public_static void main(String[]_args)_throws IOException, InterruptedException
    {
       _System.setProperty("webdriver.chrome.driver",_"C:\\Users\\abc\\Desktop\\chromedriver.exe");
 ___    WebDriver_driver = new ChromeDriver();
 _ _    WebDriverWait wait = new_WebDriverWait(driver,_20);
  _        _driver.get("url");
     _  ___ ((JavascriptExecutor)driver).executeScript("scroll(0,400)").equals("Clinical Summaries"); _
     _     _wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("//*[contains(text(), 'Download")));     _
     _    _ driver.findElements(By.xpath("//a[@href='/person/mL7CD8tR59g2Cy2/health-record/sharing/media/clinical-summary/%7B7c-06-74-be-dc-67-47-5d-be-92-4c-58-5a-fd-1b-8f%7D/download-options/']")).get(0).click();
_   }
}

A:

If I_consider your current_pasted code_as the exact_one, you won't be able to_do either:
driver.findElement(By.xpath("//a[contains(@href='/person/mL7CD8tR59g2Cy2/health-record/sharing/media/clinical-summary/%7B7c-06-74-be-dc-67-47-5d-be-92-