Jump to content

How can I interact with Xpath inside of a popover?


Go to solution Solved by Danp2,

Recommended Posts

Posted (edited)

I am using web driver and xpaths to automate chrome. 

I am able to edit everything I need to until I get these pop ups. Then when I try to find the xpath it act like it does not exist. 

This code below is working to find input fields on the main page of the site. But, if I try the same thing for ones in the popover it will not find it. 😕

$sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//*[substring(@id, string-length(@id) - string-length('_3') + 1 ) = '_3']")

    _WD_ElementAction($sSession, $sElement, 'value', "TEST")

Here is the html

popover.thumb.PNG.18dd21fbb559c4038be9ac473796a3d5.PNG

Any idea why it is not finding the element inside these pop overs?

 

 

HTML:

Spoiler
<div id="displayArea" style="cursor: default;">
        <div id="shadeDiv" class="shadeDiv" style="display: none;"></div>
        <div id="stateManagerMessage" style="display: none;">Loading...</div>
        <div id="reconnectMessage" style="display:none"></div>
    <div class="wpl-dialog-container" style="display: none;"><div class="wpl-dialog" role="dialog" aria-modal="true" tabindex="-1" style="height: 480px; width: 640px; inset: 0px auto auto 631.5px;"><div class="wpl-dialog-header"><span class="text">About MEDITECH Software</span><span class="wpl-icon wpl-button wpl-process-close-button"></span></div><div class="wpl-dialog-content"><div class="about" title="About MEDITECH Software">
    <h2>MEDITECH Health Care Information System</h2>
    <p>Copyright © <span class="copyright-year">2021</span> Medical Information Technology, Inc.</p>
    <p>If license and usage of the software is for benefit of a U.S. Government entity, MEDITECH provides this software with "RESTRICTED RIGHTS". Use, reproduction, or disclosure is subject to the restrictions in the MEDITECH license agreement.</p>
<h2>Other Credits</h2><textarea readonly="readonly" style="width: 90%; height: 150px;">Microsoft Foundation Classes version 6.0
Copyright © 1999 Microsoft Corporation
 
ObjectSet Mail SDK 1.0
Copyright © 1996 Smartcode Software, Inc.  
 
CHARTFX 3.0
Copyright © 1994 Software FX, Inc.
 
IMGDLL 3.4
by Smaller Animals Software
 
This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/)
 
ZIP and County Code content provided
by © United States Postal Service
 
WHO Growth Charts

WHO child growth standards: head circumference-for-age,
arm circumference-for age,triceps skinfold-for-age and
subscapular skinfold-for-age: methods and developments.
© World Health Organization 2007
  
WHO child growth standards: growth velocity based on weight,
length and head circumference: methods and development.
© World Health Organization 2009
  
WHO child growth standards: length/height-for-age,
weight-for-age, weight-for-length, weight-for-height
and body mass index-for-age: methods and development.
© World Health Organization 2006

New Intrauterine Growth Curves Based on United States Data. Irene E. Olsen, Sue A. Groveman, M. Louise Lawson, Reese H. Clark and Babette S. Zemel. Pediatrics. 2010; 125; (2), e214. DOI: 10.1542/peds.2009-0913.

Reproduced with permission from Pediatrics, Growth Charts for Children With Down Syndrome in the United States, Nov 2015, 136(5) e1204-e1211; DOI: 10.1542/peds.2015-1652. Copyright ©by the AAP.

Fenton 2013 Preterm Growth Chart

Reproduced with permission from Pediatrics, BMI Curves for Preterm Infants, Mar 2015, 135(3) e572-e581; DOI: 10.1542/peds.2014-2777. Copyright ©by the AAP.</textarea></div><div class="wpl-dialog-trailer"></div></div><div class="wpl-dialog-buttons"></div></div><div class="wpl-modal-dialog"></div></div><div class="wpl-dialog-container" style="display: none;"><div class="wpl-dialog" role="dialog" aria-modal="true" tabindex="-1" style="height: auto; width: 640px; inset: 119px auto auto 631.5px;"><div class="wpl-dialog-header"><span class="text">Signon Info</span><span class="wpl-icon wpl-button wpl-process-close-button"></span></div><div class="wpl-dialog-content"><div class="wpl-signoninfo-container"><h1>Session</h1><table class="wpl-signoninfo-sessions"><tbody><tr class="wpl-signoninfo-sessionid"><td>Session ID</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-signoninfo-user"><td>Signon User</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-signoninfo-type"><td>Session Type</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-signoninfo-sessionopts"><td>Session Options</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-signoninfo-servername"><td>Server Name</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-signoninfo-rendermode"><td>Render Mode</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-webclient-version"><td>WebClient Version</td><td><input type="text" readonly="1"></td></tr></tbody></table><div class="wpl-signoninfo-processes"></div></div><div class="wpl-dialog-trailer"></div></div><div class="wpl-dialog-buttons"></div></div><div class="wpl-modal-dialog"></div></div><div class="wpl-dialog-container" style="display: none;"><div class="wpl-dialog" role="dialog" aria-modal="true" tabindex="-1" style="height: auto; width: 640px; inset: 119px auto auto 631.5px;"><div class="wpl-dialog-header"><span class="text">Signon Info</span><span class="wpl-icon wpl-button wpl-process-close-button"></span></div><div class="wpl-dialog-content"><div class="wpl-signoninfo-container"><h1>Session</h1><table class="wpl-signoninfo-sessions"><tbody><tr class="wpl-signoninfo-sessionid"><td>Session ID</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-signoninfo-user"><td>Signon User</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-signoninfo-type"><td>Session Type</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-signoninfo-sessionopts"><td>Session Options</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-signoninfo-servername"><td>Server Name</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-signoninfo-rendermode"><td>Render Mode</td><td><input type="text" readonly="1"></td></tr><tr class="wpl-webclient-version"><td>WebClient Version</td><td><input type="text" readonly="1"></td></tr></tbody></table><div class="wpl-signoninfo-processes"></div></div><div class="wpl-dialog-trailer"></div></div><div class="wpl-dialog-buttons"></div></div><div class="wpl-modal-dialog"></div></div><div class="wplLayer pweb" style="position: absolute; z-index: 1; overflow: hidden; height: 100%; width: 100%; box-sizing: border-box; top: 0px; left: 0px;"><div id="shadeDiv-p82ac-l0" class="shadeDiv" style="display: none;"></div><div style="position:absolute;bottom:0;left:0;right:0;top:0;" class="pweb pweb-w11" id="pwebMain-8hY"><div id="z8hY_3" class="innerdoc navcomp navroot baselayer covered-layer" style="z-index: 0" data-navcomp-type="layer"><div id="z8hY_4" class="hidden"></div><div id="z8hY_5" class="regioncontainer s_2"><div id="z8hY_6" class="navcomp s_3"><div id="z8hY_7" class="s_4 navcomp pn-region"><div id="x8hY_8" class="comp navcomp sc-n pn-c" style="height: 100%;"><div id="x8hY_8-pn" class="comp-g pn pn-s horiz s_5" style="width: 100%;"><div id="x8hY_8-0" class="pn-i  s_6" style="height: 100%; width: 100%;"><div id="x8hY_9" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex s_7" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_9-0" class="pn-i pn-i-flex a-flex s_8"><div id="x8hY_A" class="comp comp-g navcomp  scalable img-c img-cc s_9" style="height: 60px;"><img id="x8hY_A-imgI" class="img-cg auto-width link navitem link" tabindex="0" name="img-PatientPicture" src="Pub/Web/Icon/NoImageAvailableLarge.png" alt="pat.image" title="pat.image"></div></div><div id="x8hY_9-1" class="pn-i pn-i-flex s_10" style="width: 0.5%;"><span class="s_11">&nbsp;</span></div><div id="x8hY_9-2" class="pn-i pn-i-flex a-flex s_8" style="width: 60%;"><div id="x8hY_B" class="comp comp-g navcomp pn pn-c pn-flop vert s_9" style="width: 100%;"><div id="x8hY_B-0" class="pn-i pn-i-flop"><div id="x8hY_C" class="comp comp-g navcomp pn pn-c pn-flow"><div id="x8hY_C-0-0" class="pn-i pn-i-flow"><span class="s_11">&nbsp;</span></div><div id="x8hY_C-1-0" class="pn-i pn-i-flow"><span class="s_11">&nbsp;</span></div></div></div><div id="x8hY_B-1" class="pn-i pn-i-flop"><div id="x8hY_D" class="comp comp-g navcomp horiz pn pn-c pn-s"><div id="x8hY_E" class="comp comp-g navcomp pn pn-c pn-flow"></div></div></div></div></div><div id="x8hY_9-3" class="pn-i pn-i-flex s_12 rf" style="min-width: 0ex;"></div><div id="x8hY_9-4" class="pn-i pn-i-flex a-flex s_8" style="width: 20%;"><div id="x8hY_F" class="flowcomp comp navcomp s_13"><span class="s_13"><span class="s_14">PCP: </span><span class="s_15"></span></span></div></div><div id="x8hY_9-5" class="pn-i pn-i-flex a-flex s_8" style="width: 16%;"><div id="x8hY_G" class="flowcomp comp navcomp s_13"><span class="s_13"><span>&nbsp;</span></span></div></div></div></div></div></div></div></div><div id="z8hY_H" class="navcomp s_16" style="height: 168px;"><div id="z8hY_I" class="s_17 navcomp pn-region"><div id="x8hY_J" class="comp comp-g navcomp afterResize pn pn-c pn-flex vert" style="height: 100%; width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_J-0" class="pn-i pn-i-flex a-flex s_18" style="min-height: 3em;"><div id="x8hY_K" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex s_19" style="width: 94%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_K-0" class="pn-i pn-i-flex a-flex s_20 rf" style="height: 2em; width: 2.5ex;"><div id="x8hY_L" class="comp navcomp sc-n pn-c s_21" data-evt="C"><div id="x8hY_L-pn" class="comp-g pn pn-flex vert link navitem s_9" tabindex="0"><div id="x8hY_L-0" class="pn-i pn-i-flex a-flex s_22"><div id="x8hY_M" class="comp comp-g navcomp svg-cmp s_23"><div id="x8hY_M-dv" class="svg" data-src="Pub/Web/Icon/arrowCircle.svg" data-alt="Refresh" style="height:24px;width:24px;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="x8hY_M-svg" class="persistent"><title>Refresh</title><g id="arrowCircle"><path d="M17.33,16.53A7,7,0,1,1,17.77,8L19.2,6.61a9,9,0,1,0-.45,11.33Z" fill="#616161"></path><polygon id="arrowHeadPath" points="21 10 14 10 21 3 21 10" fill="#616161"></polygon></g></svg></div></div></div></div></div></div><div id="x8hY_K-1" class="pn-i pn-i-flex s_10" style="width: 1%;"><div id="x8hY_N" style="height: 1.5em;" class="comp"></div></div><div id="x8hY_K-2" class="pn-i pn-i-flex a-flex s_22" style="width: 90%;"><div id="x8hY_O" class="flowcomp comp navcomp s_24"><span class="s_24"><span id="x8hY_O-m1" data-evt="C" class="link navitem s_25" tabindex="0">Book</span><span id="x8hY_O-m2" data-evt="C" class="link navitem s_25" tabindex="0">Walk In</span><span id="x8hY_O-m3" data-evt="C" class="link navitem s_25" tabindex="0">Sch Mtg</span><span id="x8hY_O-m4" data-evt="C" class="link navitem s_25" tabindex="0">Non Clin Visit</span><span id="x8hY_O-m5" data-evt="C" class="link navitem s_25" tabindex="0">Manage Groups</span></span></div></div></div></div><div id="x8hY_J-1" class="pn-i pn-i-flex s_26" style="height: 3.5em;"><div id="x8hY_P" class="comp comp-g navcomp pn pn-c pn-s vert" style="height: 100%; width: 100%;"><div id="x8hY_Q" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="height: 100%; width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_Q-0" class="pn-i pn-i-flex a-flex s_8" style="height: 100%; width: 8%; max-width: 5ex;"><div id="x8hY_R" class="comp comp-g navcomp pn pn-c pn-flex vert s_27" style="height: 100%; width: 100%;"><div id="x8hY_R-1" class="pn-i pn-i-flex a-flex s_22 link navitem" style="height: 100%; width: 100%;" tabindex="0" data-evt="C"><div id="x8hY_S" class="comp comp-g navcomp svg-cmp s_23"><div id="x8hY_S-dv" class="svg" data-src="Pub/Web/Icon/collapseAll.svg" data-alt="Collapse All" style="height:24px;width:24px;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="x8hY_S-svg" class="persistent"><title>Collapse All</title><g id="collapseAll"><rect id="line" x="3" y="3" width="18" height="2" fill="#616161"></rect><path id="boxPath" d="M3,6V21H21V6ZM19,19H5V8H19Z" fill="#616161"></path><polygon id="arrowPath" points="14 14 14 17 10 17 10 14 7 14 12 9 17 14 14 14" fill="#616161"></polygon></g></svg></div></div></div></div></div><div id="x8hY_Q-1" class="pn-i pn-i-flex s_10" style="width: 1ex;"><div id="x8hY_T" style="height: 1.5em;" class="comp"></div></div><div id="x8hY_Q-2" class="pn-i pn-i-flex a-flex s_28 rf" style="min-width: 0ex;"><div id="x8hY_U" class="comp comp-g navcomp horiz pn pn-c pn-flex s_23" style="height: 100%; width: 100%;"><div id="x8hY_U-0" class="pn-i pn-i-flex a-flex s_22" style="width: 100%;"><div id="x8hY_V" class="flowcomp comp navcomp s_24"><span class="s_29"><span>All Facilities</span></span></div></div></div></div><div id="x8hY_Q-3" class="pn-i pn-i-flex s_10" style="width: 1ex;"><div id="x8hY_W" style="height: 1.5em;" class="comp"></div></div><div id="x8hY_Q-4" class="pn-i pn-i-flex a-flex s_30" style="width: 22%;"><div id="x8hY_X" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex s_31" style="height: 100%; width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_X-0" class="pn-i pn-i-flex s_12 rf" style="min-width: 0ex;"><div id="x8hY_Y" style="height: 1.5em;" class="comp"></div></div><div id="x8hY_X-1" class="pn-i pn-i-flex s_10" style="width: 8ex;"><div id="x8hY_Z" class="comp comp-g navcomp pn pn-c pn-flex vert" style="height: 100%; width: 100%;"><div id="x8hY_Z-0" class="pn-i pn-i-flex a-flex s_22" style="height: 100%; width: 100%;"><div id="x8hY_a" class="comp comp-g navcomp pn pn-c pn-flex vert s_23" style="height: 100%; width: 100%;"><div id="x8hY_a-0" class="pn-i pn-i-flex a-flex s_22" style="height: 100%; width: 100%;"><div id="x8hY_b" class="comp navcomp sc-n pn-c s_32" data-evt="C"><div id="x8hY_b-pn" class="comp-g pn pn-flex vert link navitem s_23" style="width: 100%;" tabindex="0"><div id="x8hY_b-0" class="pn-i pn-i-flex a-flex s_33"><div class="comp lh0 s_24"><span class="s_34">Filter</span></div></div></div></div></div></div></div></div></div></div></div><div id="x8hY_Q-5" class="pn-i pn-i-flex s_10" style="width: 1ex;"><div id="x8hY_c" style="height: 1.5em;" class="comp"></div></div></div></div></div><div id="x8hY_J-2" class="pn-i pn-i-flex s_35 rf rf-fix" style="min-height: 0em;"><div id="x8hY_J-2-rf-fix" class="rf-fix-child"><div id="x8hY_d" class="pn-c navcomp s_36"><div id="x8hY_d-sc" class="pn-w scrollable-wrapper preserve-scroll touch-scroll-off" style="height: 100%; width: 100%; overflow-y: auto; overflow-x: hidden;" data-scrollname="2ed7cbf0f59e81348d0dc783e0c3bc79"><div id="x8hY_d-pn" class="pn scrollable-detail pn-s vert s_37"><div id="x8hY_d-3" class="pn-i " style="width: 100%;"><div id="x8hY_e" class="comp comp-g navcomp horiz pn pn-c pn-s" style="width: 100%;"><span class="s_38">Loading...</span></div></div></div></div></div></div></div></div></div><div id="z8hY_f" class="navcomp s_39"><div id="z8hY_g" class="s_40 navcomp pn-region"><div id="x8hY_h" class="comp navcomp sc-n pn-c" style="height: 100%;"><div id="x8hY_h-pn" class="comp-g pn pn-flex horiz afterResize s_41" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_h-0" class="pn-i pn-i-flex a-flex s_22" style="width: 40ex;"><div id="x8hY_i" class="comp comp-g navcomp pn pn-c pn-flex vert s_42" style="height: 2.5em; width: 100%;"><div id="x8hY_i-0" class="pn-i pn-i-flex a-flex s_22" style="height: 100%;"><div id="x8hY_j" class="comp navcomp sc-n pn-c s_32 persistent-data" style="height: 100%;"><div id="x8hY_j-pn" class="comp-g pn pn-flex horiz s_43"><div class="pn-i pn-i-flex a-flex s_44" style="height: 100%;"><div id="x8hY_k" class="comp navcomp sc-n pn-c s_45" style="height: 100%;"><div id="x8hY_k-pn" class="comp-g pn pn-flex horiz s_46"><div id="x8hY_k-0" class="pn-i pn-i-flex a-flex s_47 link navitem" style="height: 100%; width: 15ex;" tabindex="0" data-evt="C"><div class="comp lh0 s_24"><span class="s_48">Patient Data</span></div></div></div></div></div><div class="pn-i pn-i-flex a-flex s_44" style="height: 100%;"><div id="x8hY_l" class="comp comp-g navcomp horiz pn pn-c pn-flex s_49" style="height: 100%;"><div id="x8hY_l-0" class="pn-i pn-i-flex a-flex s_50" style="height: 100%; width: 15ex;"><div class="comp lh0 s_24"><span class="s_48">Visit Data</span></div></div></div></div></div></div></div></div></div><div id="x8hY_h-1" class="pn-i pn-i-flex a-flex s_44"><div id="x8hY_o" class="flowcomp comp navcomp s_51"><span class="s_51"><span class="s_52">No Med Rec Num</span></span></div></div><div id="x8hY_h-2" class="pn-i pn-i-flex a-flex s_53 link navitem rf" style="min-width: 0ex;" tabindex="0" data-evt="C"><div id="x8hY_p" class="comp comp-g navcomp svg-cmp s_31"><div id="x8hY_p-dv" class="svg" data-src="Pub/Web/Icon/expandAll.svg" data-alt="Expand All" style="height:24px;width:24px;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="x8hY_p-svg" class="persistent"><title>Expand All</title><g id="expandAll"><rect id="line" x="3" y="3" width="18" height="2" fill="#616161"></rect><path id="boxPath" d="M3,6V21H21V6ZM19,19H5V8H19Z" fill="#616161"></path><polygon id="arrowPath" points="14 13 14 10 10 10 10 13 7 13 12 18 17 13 14 13" fill="#616161"></polygon></g></svg></div></div></div><div id="x8hY_h-3" class="pn-i pn-i-flex a-flex s_30 link navitem" tabindex="0" data-evt="C"><div id="x8hY_q" class="comp comp-g navcomp svg-cmp s_31"><div id="x8hY_q-dv" class="svg" data-src="Pub/Web/Icon/collapseAll.svg" data-alt="Collapse All" style="height:24px;width:24px;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="x8hY_q-svg" class="persistent"><title>Collapse All</title><g id="collapseAll"><rect id="line" x="3" y="3" width="18" height="2" fill="#616161"></rect><path id="boxPath" d="M3,6V21H21V6ZM19,19H5V8H19Z" fill="#616161"></path><polygon id="arrowPath" points="14 14 14 17 10 17 10 14 7 14 12 9 17 14 14 14" fill="#616161"></polygon></g></svg></div></div></div></div></div></div><div id="z8hY_r" class="s_54 navcomp pn-region"><div id="x8hY_s" class="comp comp-g navcomp pn pn-c pn-s vert" style="height: 100%; width: 100%;"><div id="x8hY_s-0" class="pn-i  s_55" style="height: 100%; width: 100%;"><span class="s_11">Loading...</span></div></div></div></div></div></div><div id="y8hY_u" data-state="{&quot;indicators&quot;:[],&quot;missing&quot;:[],&quot;missingHidden&quot;:[],&quot;missingCompIds&quot;:[],&quot;requiredHidden&quot;:[[]]}" data-after-update="Pweb.ui.required.updateState" class="compstate afterUpdate"></div><div id="tooltip" class="tooltip-defaultstyles suppresshovertext"></div></div><iframe id="HiddenIFrame-8hY" name="HiddenIFrame-8hY" title="empty" style="display:none;height:0;width:0;border:none;" nuan_newframe="true"></iframe><div id="cubby-storage-8hY" class="offscreen"></div><div id="secondary-buffer-8hY" class="secondary-buffer offscreen" style="height: 100%; width: 100%"></div><div id="sizeless-buffer-8hY" class="sizeless-buffer offscreen"></div><div id="fastdom-buffer-8hY" class="fastdom-buffer offscreen"></div><div id="popovershell0-shader" style="width: 100%; height: 100%; left: 0px; top: 0px; position: absolute; z-index: 1; background-color: rgb(0, 0, 0); opacity: 0.45;"></div><div id="popovershell0-outer" name="popover" class="layer-container" style="position: absolute; z-index: 2; top: 29.5px; left: 143.5px;"><div id="popovershell0-inner" class="popover-shell s_147" style="width: 1631px; height: 177px; background-color: white; box-shadow: rgba(0, 0, 0, 0.5) 0px 4px 8px; margin: 0px;"><div id="popover-layer-1-8hY" class="child-outerdoc" style=""><div id="z8hY_10" class="innerdoc navcomp navroot" style="z-index: 0" data-navcomp-type="layer" data-outside-click-link="./000000000000lvmgr6.mthd"><div id="z8hY_11" class="hidden"></div><div id="z8hY_12" class="regioncontainer s_56"><div id="z8hY_13" class="s_57 navcomp pn-region"><div id="x8hY_14" class="comp comp-g navcomp afterResize pn pn-c pn-flex vert s_58" style="height: 100%; width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_14-0" class="pn-i pn-i-flex a-flex s_59" style="height: 5.6em;"><div id="x8hY_15" class="comp comp-g navcomp pn pn-c pn-s vert s_60" style="height: 100%; width: 100%;"><div id="x8hY_16" class="comp navcomp sc-n pn-c" style="height: 100%;"><div id="x8hY_16-pn" class="comp-g pn pn-flex horiz afterResize s_61" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_16-1" class="pn-i pn-i-flex a-flex s_62 rf" style="height: 100%; min-width: 0ex;"><div id="x8hY_17" class="comp comp-g navcomp pn pn-c pn-flex vert s_63" style="width: 100%;"><div id="x8hY_17-0" class="pn-i pn-i-flex a-flex s_64"><div class="comp no-wrap-comp lh0 s_65"><span class="s_66 no-wrap rclick">Patient Search by Best Match</span></div></div></div></div><div id="x8hY_16-2" class="pn-i pn-i-flex s_67" style="height: 100%; width: 5ex;"><div id="x8hY_18" style="height: 1.5em;" class="comp"></div></div><div id="x8hY_16-3" class="pn-i pn-i-flex a-flex s_68" style="height: 100%;"><div id="x8hY_19" class="comp comp-g navcomp horiz pn pn-c pn-flex s_69 persistent-data"><div id="y8hY_1A" class="pn-i pn-i-flex s_67 link navitem" tabindex="0" data-evt="C"><div id="x8hY_1B" class="comp comp-g navcomp pn pn-c pn-flex vert s_70"><div id="x8hY_1B-0" class="pn-i pn-i-flex a-flex s_71" style="height: 2.25em;"><div id="x8hY_1C" class="comp navcomp lh0 s_72"><span id="x8hY_1C-s" class="s_73 s-text">Close</span></div></div></div></div></div></div></div></div></div></div><div id="x8hY_14-4" class="pn-i pn-i-flex s_74 rf rf-fix" style="min-height: 0em;"><div id="x8hY_14-4-rf-fix" class="rf-fix-child"><div id="x8hY_1F" class="comp comp-g navcomp afterResize pn pn-c pn-flex vert" style="height: 100%; width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_1F-1" class="pn-i pn-i-flex s_75" style="height: 100%; width: 100%;"><div id="x8hY_1G" class="comp comp-g navcomp pn pn-c pn-s vert" style="height: 100%; width: 100%;"><div id="x8hY_1H" class="comp comp-g navcomp pn pn-c pn-s vert" style="height: 100%; width: 100%;"><div id="x8hY_1I" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="height: 100%; width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_1I-0" class="pn-i pn-i-flex s_67" style="width: 25%;"><div id="x8hY_1J" class="pn-c navcomp s_76"><div id="x8hY_1J-sc" class="pn-w scrollable-wrapper preserve-scroll" style="height: 100%; width: 100%; overflow-y: auto; overflow-x: hidden;" data-scrollname="fc023c645838b11d41b9772db58a640c"><div id="x8hY_1J-pn" class="pn scrollable-detail pn-s vert s_77"><div id="x8hY_1J-0" class="pn-i " style="width: 100%;"><div id="x8hY_1K" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_1K-0" class="pn-i pn-i-flex s_67" style="width: 1ex;"><span class="s_78">&nbsp;</span></div><div id="x8hY_1K-1" class="pn-i pn-i-flex s_79 rf" style="width: 20ex;"><div id="x8hY_1L" class="comp comp-g navcomp pn pn-c pn-flop vert" style="width: 100%;"><div id="x8hY_1L-0" class="pn-i pn-i-flop" style="height: 0.25em; width: 100%;"><span class="s_78">&nbsp;</span></div><div id="x8hY_1L-1" class="pn-i pn-i-flop" style="width: 100%;"><div id="x8hY_1M" class="comp comp-g navcomp pn pn-c pn-flop vert persistent-data" style="width: 100%;"><div class="pn-i pn-i-flop" style="width: 100%;"><div id="x8hY_1N" class="comp navcomp sc-n pn-c"><div id="x8hY_1N-pn" class="comp-g pn pn-flop vert s_80" style="width: 100%;"><div id="x8hY_1N-0" class="pn-i pn-i-flop"><div id="x8hY_1O" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_1O-0" class="pn-i  link navitem" style="width: 100%;" tabindex="0" data-evt="C"><div id="x8hY_1P" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_1P-1" class="pn-i pn-i-flex a-flex s_81" style="width: 3ex;"><div id="x8hY_1Q" class="comp comp-g navcomp img-c img-cc s_82"><img id="x8hY_1Q-imgI" class="img-cg auto-width auto-height auto-both" name="img-ChevronDown" src="Pub/Web/Icon/chevron_black_open-12x12@1x.png" alt="Down" title="Down"></div></div><div id="x8hY_1P-2" class="pn-i pn-i-flex a-flex s_62 rf" style="min-width: 0ex;"><div class="comp lh0 s_65"><span class="s_83">Best Match</span></div></div><div id="x8hY_1P-3" class="pn-i pn-i-flex a-flex s_68" style="width: 14ex;"><div id="x8hY_1R" class="comp comp-g navcomp horiz pn pn-c pn-flex s_69"><div id="x8hY_1R-0" class="pn-i pn-i-flex a-flex s_81"><div id="x8hY_1S" class="comp comp-g navcomp pn pn-c pn-s vert s_84" style="height: 100%;"><div id="x8hY_1S-0" class="pn-i  link navitem" tabindex="0" data-evt="C"><div id="x8hY_1T" class="comp comp-g navcomp pn pn-c pn-flex vert s_85"><div id="x8hY_1T-0" class="pn-i pn-i-flex a-flex s_86" style="height: 2.155em;"><div id="x8hY_1U" class="comp navcomp lh0 s_72"><span id="x8hY_1U-s" class="s_87 s-text">&nbsp;&nbsp;Search&nbsp;&nbsp;</span></div></div></div></div></div></div></div></div></div></div></div></div><div id="x8hY_1N-1" class="pn-i pn-i-flop"><div id="x8hY_1V" class="comp comp-g navcomp pn pn-c pn-flex vert" style="width: 100%;"><div id="x8hY_1V-0" class="pn-i pn-i-flex s_67" style="height: 0.5em; width: 100%;"><span class="s_78">&nbsp;</span></div><div id="x8hY_1V-1" class="pn-i pn-i-flex s_67" style="width: 100%;"><div id="x8hY_1W" class="comp rttable navcomp s_88 s_89 s_90 s_91 s_93 s_102 afterUpdate afterInnerUpdate beforeUpdate persistent-data" data-after-update="Pweb.comp.recordTable.afterUpdate_" data-before-update="Pweb.comp.recordTable.beforeUpdate_" data-after-inner-update="Pweb.comp.recordTable.afterUpdate_" data-navcomp-type="recordtable" data-evt="Ch C Fi Fo De" data-evh="Pweb.comp.recordTable.event"><div id="x8hY_1W-t" class="s_101 recordtable" data-render-type="TS"><table class="rtlabelbody">  <colgroup class="rtlabelcolgroup"><col class="labelcol0"></colgroup><tbody><tr class="rtlabel contextfreediventry" id="x8hY_1W-labels"><td id="y8hY_1X" class="s_92 rtlabelcell labelcolumn0 reqindicator" data-req-scope="#x8hY_1W .column0"><label id="y8hY_1X-l" style="" class="">LAST NAME</label></td></tr></tbody></table><div id="x8hY_1W-sc" class="s_100 rtscrollbody"><table id="x8hY_1W-bd" class="rtbody">  <colgroup><col class="col0"></colgroup>  <tbody>  <tr id="y8hY_1Y" class="rtrow">  <td id="y8hY_1Z" class=" rtcell column0" data-evt="Fi">  <div class="s_99"><div id="x8hY_1a" data-evt="C" data-evh="Pweb.event.incrementClickCount" class="comp navcomp s_94"><div class="s_96 altstyle  s_97 s_98"><input id="in8hY_1" type="text" spellcheck="false" autocomplete="off" style="box-sizing:border-box;width:100%;vertical-align:top;color:inherit;" name="in8hY_11" value="Mitchell" class="navitem s_95" data-evt="Fi Fo" data-evh-fi="Pweb.input.inputTextFocusInWrapper" data-evh-fo="Pweb.input.inputTextFocusOutWrapper" data-evt-props="[&quot;altStyle&quot;]" data-befieldchanged-url="./000000000000mk94fr.mthd" aria-labelledby="y8hY_1X"></div></div>  </div>  </td>  </tr>  </tbody></table></div></div></div></div><div id="x8hY_1V-2" class="pn-i pn-i-flex s_67" style="width: 100%;"><div id="x8hY_1d" class="comp rttable navcomp s_88 s_89 s_90 s_91 s_93 s_102 persistent-data" data-navcomp-type="recordtable" data-evt="Ch C Fi Fo De" data-evh="Pweb.comp.recordTable.event"><div id="x8hY_1d-t" class="s_101 recordtable" data-render-type="TS"><table class="rtlabelbody">  <colgroup class="rtlabelcolgroup"><col class="labelcol0"></colgroup><tbody><tr class="rtlabel contextfreediventry" id="x8hY_1d-labels"><td id="y8hY_1e" class="s_92 rtlabelcell labelcolumn0"><label id="y8hY_1e-l" style="" class="">FIRST NAME</label></td></tr></tbody></table><div id="x8hY_1d-sc" class="s_100 rtscrollbody"><table id="x8hY_1d-bd" class="rtbody">  <colgroup><col class="col0"></colgroup>  <tbody>  <tr id="y8hY_1f" class="rtrow">  <td id="y8hY_1g" class=" rtcell column0" data-evt="Fi">  <div class="s_99"><div id="x8hY_1h" data-evt="C" data-evh="Pweb.event.incrementClickCount" class="comp navcomp s_94"><div class="s_96 altstyle  s_97 s_98"><input id="in8hY_2" type="text" spellcheck="false" autocomplete="off" style="box-sizing:border-box;width:100%;vertical-align:top;color:inherit;" name="in8hY_12" value="Vaughn" class="navitem s_95" data-evt="Fi Fo" data-evh-fi="Pweb.input.inputTextFocusInWrapper" data-evh-fo="Pweb.input.inputTextFocusOutWrapper" data-evt-props="[&quot;altStyle&quot;]" data-befieldchanged-url="./000000000000ng6ny2.mthd" aria-labelledby="y8hY_1e"></div></div>  </div>  </td>  </tr>  </tbody></table></div></div></div></div><div id="x8hY_1V-3" class="pn-i pn-i-flex s_67" style="width: 100%;"><div id="x8hY_1k" class="comp rttable navcomp s_88 s_89 s_90 s_91 s_93 s_102 persistent-data" data-navcomp-type="recordtable" data-evt="Ch C Fi Fo De" data-evh="Pweb.comp.recordTable.event"><div id="x8hY_1k-t" class="s_101 recordtable" data-render-type="TS"><table class="rtlabelbody">  <colgroup class="rtlabelcolgroup"><col class="labelcol0"></colgroup><tbody><tr class="rtlabel contextfreediventry" id="x8hY_1k-labels"><td id="y8hY_1l" class="s_92 rtlabelcell labelcolumn0"><label id="y8hY_1l-l" style="" class="">MIDDLE NAME</label></td></tr></tbody></table><div id="x8hY_1k-sc" class="s_100 rtscrollbody"><table id="x8hY_1k-bd" class="rtbody">  <colgroup><col class="col0"></colgroup>  <tbody>  <tr id="y8hY_1m" class="rtrow">  <td id="y8hY_1n" class=" rtcell column0" data-evt="Fi">  <div class="s_99"><div id="x8hY_1o" data-evt="C" data-evh="Pweb.event.incrementClickCount" class="comp navcomp s_94"><div class="s_96 altstyle  s_97 s_98"><input id="in8hY_3" type="text" spellcheck="false" autocomplete="off" style="box-sizing:border-box;width:100%;vertical-align:top;color:inherit;" name="in8hY_13" class="navitem s_95" data-evt="Fi Fo" data-evh-fi="Pweb.input.inputTextFocusInWrapper" data-evh-fo="Pweb.input.inputTextFocusOutWrapper" data-evt-props="[&quot;altStyle&quot;]" data-befieldchanged-url="./000000000000o3ihg5.mthd" aria-labelledby="y8hY_1l"></div></div>  </div>  </td>  </tr>  </tbody></table></div></div></div></div><div id="x8hY_1V-4" class="pn-i pn-i-flex s_67" style="width: 100%;"><div id="x8hY_1r" class="comp rttable navcomp s_88 s_89 s_90 s_91 s_93 s_102 persistent-data" data-navcomp-type="recordtable" data-evt="Ch C Fi Fo De" data-evh="Pweb.comp.recordTable.event"><div id="x8hY_1r-t" class="s_101 recordtable" data-render-type="TS"><table class="rtlabelbody">  <colgroup class="rtlabelcolgroup"><col class="labelcol0"></colgroup><tbody><tr class="rtlabel contextfreediventry" id="x8hY_1r-labels"><td id="y8hY_1s" class="s_92 rtlabelcell labelcolumn0"><label id="y8hY_1s-l" style="" class="">BIRTHDATE</label></td></tr></tbody></table><div id="x8hY_1r-sc" class="s_100 rtscrollbody"><table id="x8hY_1r-bd" class="rtbody">  <colgroup><col class="col0"></colgroup>  <tbody>  <tr id="y8hY_1t" class="rtrow">  <td id="y8hY_1u" class=" rtcell column0" data-evt="Fi">  <div class="s_99"><div id="x8hY_1v" data-evt="C" data-evh="Pweb.event.incrementClickCount" class="comp navcomp s_94"><div class="s_96 altstyle  s_97 s_98"><input id="in8hY_4" type="text" spellcheck="false" autocomplete="off" style="box-sizing:border-box;width:100%;vertical-align:top;color:inherit;" name="in8hY_14" class="navitem s_95" data-evt="Fi Fo" data-evh-fi="Pweb.input.inputTextFocusInWrapper" data-evh-fo="Pweb.input.inputTextFocusOutWrapper" data-evt-props="[&quot;altStyle&quot;]" data-befieldchanged-url="./000000000000pe7jzz.mthd" aria-labelledby="y8hY_1s"></div></div>  </div>  </td>  </tr>  </tbody></table></div></div></div></div><div id="x8hY_1V-5" class="pn-i pn-i-flex s_67" style="width: 100%;"><div id="x8hY_1y" class="comp rttable navcomp s_88 s_89 s_90 s_91 s_93 s_102 persistent-data" data-navcomp-type="recordtable" data-evt="Ch C Fi Fo De" data-evh="Pweb.comp.recordTable.event"><div id="x8hY_1y-t" class="s_101 recordtable" data-render-type="TS"><table class="rtlabelbody">  <colgroup class="rtlabelcolgroup"><col class="labelcol0"></colgroup><tbody><tr class="rtlabel contextfreediventry" id="x8hY_1y-labels"><td id="y8hY_1z" class="s_92 rtlabelcell labelcolumn0"><label id="y8hY_1z-l" style="" class="">AGE</label></td></tr></tbody></table><div id="x8hY_1y-sc" class="s_100 rtscrollbody"><table id="x8hY_1y-bd" class="rtbody">  <colgroup><col class="col0"></colgroup>  <tbody>  <tr id="y8hY_20" class="rtrow">  <td id="y8hY_21" class=" rtcell column0" data-evt="Fi">  <div class="s_99"><div id="x8hY_22" data-evt="C" data-evh="Pweb.event.incrementClickCount" class="comp navcomp s_94"><div class="s_96 altstyle  s_97 s_98"><input id="in8hY_5" type="text" spellcheck="false" autocomplete="off" style="box-sizing:border-box;width:100%;vertical-align:top;color:inherit;" name="in8hY_15" class="navitem s_95" data-evt="Fi Fo" data-evh-fi="Pweb.input.inputTextFocusInWrapper" data-evh-fo="Pweb.input.inputTextFocusOutWrapper" data-evt-props="[&quot;altStyle&quot;]" data-befieldchanged-url="./000000000000q4nk67.mthd" aria-labelledby="y8hY_1z"></div></div>  </div>  </td>  </tr>  </tbody></table></div></div></div></div><div id="x8hY_1V-6" class="pn-i pn-i-flex s_67" style="width: 100%;"><div id="x8hY_25" class="comp rttable navcomp s_88 s_89 s_90 s_91 s_93 s_102 persistent-data" data-navcomp-type="recordtable" data-evt="Ch C Fi Fo De" data-evh="Pweb.comp.recordTable.event"><div id="x8hY_25-t" class="s_101 recordtable" data-render-type="TS"><table class="rtlabelbody">  <colgroup class="rtlabelcolgroup"><col class="labelcol0"></colgroup><tbody><tr class="rtlabel contextfreediventry" id="x8hY_25-labels"><td id="y8hY_26" class="s_92 rtlabelcell labelcolumn0"><label id="y8hY_26-l" style="" class="">BIRTH SEX</label></td></tr></tbody></table><div id="x8hY_25-sc" class="s_100 rtscrollbody"><table id="x8hY_25-bd" class="rtbody">  <colgroup><col class="col0"></colgroup>  <tbody>  <tr id="y8hY_27" class="rtrow">  <td id="y8hY_28" class="rtcell column0" data-evt="Fi">  <div class="s_99"><div id="x8hY_29" data-evt="C" data-evh="Pweb.event.incrementClickCount" class="comp navcomp s_94"><div class="s_96 altstyle s_97 s_98"><input id="in8hY_6" type="text" spellcheck="false" autocomplete="off" style="box-sizing: border-box; width: 100%; vertical-align: top; color: inherit;" name="in8hY_16" class="navitem s_95 navfocus" data-evt="Fi Fo" data-evh-fi="Pweb.input.inputTextFocusInWrapper" data-evh-fo="Pweb.input.inputTextFocusOutWrapper" data-evt-props="[&quot;altStyle&quot;]" data-befieldchanged-url="./000000000000rf45xt.mthd" aria-labelledby="y8hY_26"></div></div>  </div>  </td>  </tr>  </tbody></table></div></div></div></div><div id="x8hY_1V-7" class="pn-i pn-i-flex s_67" style="width: 100%;"><div id="x8hY_2C" class="comp rttable navcomp s_88 s_89 s_90 s_91 s_93 s_102 persistent-data" data-navcomp-type="recordtable" data-evt="Ch C Fi Fo De" data-evh="Pweb.comp.recordTable.event"><div id="x8hY_2C-t" class="s_101 recordtable" data-render-type="TS"><table class="rtlabelbody">  <colgroup class="rtlabelcolgroup"><col class="labelcol0"></colgroup><tbody><tr class="rtlabel contextfreediventry" id="x8hY_2C-labels"><td id="y8hY_2D" class="s_92 rtlabelcell labelcolumn0"><label id="y8hY_2D-l" style="" class="">SOC SEC NUMBER</label></td></tr></tbody></table><div id="x8hY_2C-sc" class="s_100 rtscrollbody"><table id="x8hY_2C-bd" class="rtbody">  <colgroup><col class="col0"></colgroup>  <tbody>  <tr id="y8hY_2E" class="rtrow">  <td id="y8hY_2F" class=" rtcell column0" data-evt="Fi">  <div class="s_99"><div id="x8hY_2G" data-evt="C" data-evh="Pweb.event.incrementClickCount" class="comp navcomp s_94"><div class="s_96 altstyle  s_97 s_98"><input id="in8hY_7" type="text" spellcheck="false" autocomplete="off" style="box-sizing:border-box;width:100%;vertical-align:top;color:inherit;" name="in8hY_17" class="navitem s_95" data-evt="Fi Fo" data-evh-fi="Pweb.input.inputTextFocusInWrapper" data-evh-fo="Pweb.input.inputTextFocusOutWrapper" data-evt-props="[&quot;altStyle&quot;]" data-befieldchanged-url="./000000000000sboyjm.mthd" aria-labelledby="y8hY_2D"></div></div>  </div>  </td>  </tr>  </tbody></table></div></div></div></div><div id="x8hY_1V-8" class="pn-i pn-i-flex s_67" style="width: 100%;"><div id="x8hY_2J" class="comp rttable navcomp s_88 s_89 s_90 s_91 s_93 s_102 persistent-data" data-navcomp-type="recordtable" data-evt="Ch C Fi Fo De" data-evh="Pweb.comp.recordTable.event"><div id="x8hY_2J-t" class="s_101 recordtable" data-render-type="TS"><table class="rtlabelbody">  <colgroup class="rtlabelcolgroup"><col class="labelcol0"></colgroup><tbody><tr class="rtlabel contextfreediventry" id="x8hY_2J-labels"><td id="y8hY_2K" class="s_92 rtlabelcell labelcolumn0"><label id="y8hY_2K-l" style="" class="">PHONE</label></td></tr></tbody></table><div id="x8hY_2J-sc" class="s_100 rtscrollbody"><table id="x8hY_2J-bd" class="rtbody">  <colgroup><col class="col0"></colgroup>  <tbody>  <tr id="y8hY_2L" class="rtrow">  <td id="y8hY_2M" class=" rtcell column0" data-evt="Fi">  <div class="s_99"><div id="x8hY_2N" data-evt="C" data-evh="Pweb.event.incrementClickCount" class="comp navcomp s_94"><div class="s_96 altstyle  s_97 s_98"><input id="in8hY_8" type="text" spellcheck="false" autocomplete="off" style="box-sizing:border-box;width:100%;vertical-align:top;color:inherit;" name="in8hY_18" class="navitem s_95" data-evt="Fi Fo" data-evh-fi="Pweb.input.inputTextFocusInWrapper" data-evh-fo="Pweb.input.inputTextFocusOutWrapper" data-evt-props="[&quot;altStyle&quot;]" data-befieldchanged-url="./000000000000t91vel.mthd" aria-labelledby="y8hY_2K"></div></div>  </div>  </td>  </tr>  </tbody></table></div></div></div></div><div id="x8hY_1V-9" class="pn-i pn-i-flex s_67" style="width: 100%;"><div id="x8hY_2Q" class="comp rttable navcomp s_88 s_89 s_90 s_91 s_93 s_102 persistent-data" data-navcomp-type="recordtable" data-evt="Ch C Fi Fo De" data-evh="Pweb.comp.recordTable.event"><div id="x8hY_2Q-t" class="s_103 recordtable" data-render-type="TS"><table class="rtlabelbody">  <colgroup class="rtlabelcolgroup"><col class="labelcol0"></colgroup><tbody><tr class="rtlabel contextfreediventry" id="x8hY_2Q-labels"><td id="y8hY_2R" class="s_92 rtlabelcell labelcolumn0"><label id="y8hY_2R-l" style="" class="">POLICY NUM</label></td></tr></tbody></table><div id="x8hY_2Q-sc" class="s_100 rtscrollbody"><table id="x8hY_2Q-bd" class="rtbody">  <colgroup><col class="col0"></colgroup>  <tbody>  <tr id="y8hY_2S" class="rtrow">  <td id="y8hY_2T" class=" rtcell column0">  <div class="s_99"><div id="x8hY_2U" data-evt="C" data-evh="Pweb.event.incrementClickCount" class="comp navcomp s_94"><div class="s_96 altstyle  s_97 s_98"><input id="in8hY_9" type="text" spellcheck="false" autocomplete="off" style="box-sizing:border-box;width:100%;vertical-align:top;color:inherit;" name="in8hY_19" class="navitem s_95" data-evt="Fi Fo" data-evh-fi="Pweb.input.inputTextFocusInWrapper" data-evh-fo="Pweb.input.inputTextFocusOutWrapper" data-evt-props="[&quot;altStyle&quot;]" data-befieldchanged-url="./000000000000uxlsm4.mthd" aria-labelledby="y8hY_2R"></div></div>  </div>  </td>  </tr>  </tbody></table></div></div></div></div><div id="x8hY_1V-10" class="pn-i pn-i-flex s_67" style="width: 100%;"><div id="x8hY_2X" class="comp rttable navcomp s_88 s_89 s_90 s_91 s_93 s_102 persistent-data" data-navcomp-type="recordtable" data-evt="Ch C Fi Fo De" data-evh="Pweb.comp.recordTable.event"><div id="x8hY_2X-t" class="s_103 recordtable" data-render-type="TS"><table class="rtlabelbody">  <colgroup class="rtlabelcolgroup"><col class="labelcol0"></colgroup><tbody><tr class="rtlabel contextfreediventry" id="x8hY_2X-labels"><td id="y8hY_2Y" class="s_92 rtlabelcell labelcolumn0"><label id="y8hY_2Y-l" style="" class="">EMAIL</label></td></tr></tbody></table><div id="x8hY_2X-sc" class="s_100 rtscrollbody"><table id="x8hY_2X-bd" class="rtbody">  <colgroup><col class="col0"></colgroup>  <tbody>  <tr id="y8hY_2Z" class="rtrow">  <td id="y8hY_2a" class=" rtcell column0">  <div class="s_99"><div id="x8hY_2b" data-evt="C" data-evh="Pweb.event.incrementClickCount" class="comp navcomp s_94"><div class="s_96 altstyle  s_97 s_98"><input id="in8hY_10" type="text" spellcheck="false" autocomplete="off" style="box-sizing:border-box;width:100%;vertical-align:top;color:inherit;" name="in8hY_20" class="navitem s_95" data-evt="Fi Fo" data-evh-fi="Pweb.input.inputTextFocusInWrapper" data-evh-fo="Pweb.input.inputTextFocusOutWrapper" data-evt-props="[&quot;altStyle&quot;]" data-befieldchanged-url="./000000000000vjvyn2.mthd" aria-labelledby="y8hY_2Y"></div></div>  </div>  </td>  </tr>  </tbody></table></div></div></div></div><div id="x8hY_1V-11" class="pn-i pn-i-flex s_67" style="height: 0.5em; width: 100%;"><span class="s_78">&nbsp;</span></div><div id="x8hY_1V-12" class="pn-i pn-i-flex a-flex s_81"><div id="x8hY_2e" class="comp comp-g navcomp horiz pn pn-c pn-flex s_82"><div id="x8hY_2e-0" class="pn-i pn-i-flex a-flex s_81"><div id="x8hY_2f" class="comp comp-g navcomp pn pn-c pn-s vert s_84" style="height: 100%;"><div id="x8hY_2f-0" class="pn-i  link navitem" tabindex="0" data-evt="C"><div id="x8hY_2g" class="comp comp-g navcomp pn pn-c pn-flex vert s_85"><div id="x8hY_2g-0" class="pn-i pn-i-flex a-flex s_86" style="height: 2.155em;"><div id="x8hY_2h" class="comp navcomp lh0 s_72"><span id="x8hY_2h-s" class="s_87 s-text">&nbsp;&nbsp;Search&nbsp;&nbsp;</span></div></div></div></div></div></div></div></div><div id="x8hY_1V-13" class="pn-i pn-i-flex s_67" style="height: 0.5em; width: 100%;"><span class="s_78">&nbsp;</span></div></div></div></div></div></div><div class="pn-i pn-i-flop" style="width: 100%;"><div id="x8hY_2i" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_2j" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_2j-0" class="pn-i  link navitem" style="width: 100%;" tabindex="0" data-evt="C"><div id="x8hY_2k" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_2k-0" class="pn-i pn-i-flex a-flex s_81" style="width: 3ex;"><div id="x8hY_2l" class="comp comp-g navcomp img-c img-cc s_82"><img id="x8hY_2l-imgI" class="img-cg auto-width auto-height auto-both" name="img-ChevronRight" src="Pub/Web/Icon/chevron_black_closed-12x12@1x.png" alt="Right" title="Right"></div></div><div id="x8hY_2k-2" class="pn-i pn-i-flex a-flex s_62 rf" style="min-width: 0ex;"><div class="comp lh0 s_65"><span class="s_83">Med Rec Number</span></div></div></div></div></div></div></div><div class="pn-i pn-i-flop" style="width: 100%;"><div id="x8hY_2m" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_2n" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_2n-0" class="pn-i  link navitem" style="width: 100%;" tabindex="0" data-evt="C"><div id="x8hY_2o" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_2o-0" class="pn-i pn-i-flex a-flex s_81" style="width: 3ex;"><div id="x8hY_2p" class="comp comp-g navcomp img-c img-cc s_82"><img id="x8hY_2p-imgI" class="img-cg auto-width auto-height auto-both" name="img-ChevronRight" src="Pub/Web/Icon/chevron_black_closed-12x12@1x.png" alt="Right" title="Right"></div></div><div id="x8hY_2o-2" class="pn-i pn-i-flex a-flex s_62 rf" style="min-width: 0ex;"><div class="comp lh0 s_65"><span class="s_83">EMR Number</span></div></div></div></div></div></div></div><div class="pn-i pn-i-flop" style="width: 100%;"><div id="x8hY_2q" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_2r" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_2r-0" class="pn-i  link navitem" style="width: 100%;" tabindex="0" data-evt="C"><div id="x8hY_2s" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_2s-0" class="pn-i pn-i-flex a-flex s_81" style="width: 3ex;"><div id="x8hY_2t" class="comp comp-g navcomp img-c img-cc s_82"><img id="x8hY_2t-imgI" class="img-cg auto-width auto-height auto-both" name="img-ChevronRight" src="Pub/Web/Icon/chevron_black_closed-12x12@1x.png" alt="Right" title="Right"></div></div><div id="x8hY_2s-2" class="pn-i pn-i-flex a-flex s_62 rf" style="min-width: 0ex;"><div class="comp lh0 s_65"><span class="s_83">OV ID Number</span></div></div></div></div></div></div></div><div class="pn-i pn-i-flop" style="width: 100%;"><div id="x8hY_2u" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_2v" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_2v-0" class="pn-i  link navitem" style="width: 100%;" tabindex="0" data-evt="C"><div id="x8hY_2w" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_2w-0" class="pn-i pn-i-flex a-flex s_81" style="width: 3ex;"><div id="x8hY_2x" class="comp comp-g navcomp img-c img-cc s_82"><img id="x8hY_2x-imgI" class="img-cg auto-width auto-height auto-both" name="img-ChevronRight" src="Pub/Web/Icon/chevron_black_closed-12x12@1x.png" alt="Right" title="Right"></div></div><div id="x8hY_2w-2" class="pn-i pn-i-flex a-flex s_62 rf" style="min-width: 0ex;"><div class="comp lh0 s_65"><span class="s_83">Account Number</span></div></div></div></div></div></div></div><div class="pn-i pn-i-flop" style="width: 100%;"><div id="x8hY_2y" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_2z" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_2z-0" class="pn-i  link navitem" style="width: 100%;" tabindex="0" data-evt="C"><div id="x8hY_30" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_30-0" class="pn-i pn-i-flex a-flex s_81" style="width: 3ex;"><div id="x8hY_31" class="comp comp-g navcomp img-c img-cc s_82"><img id="x8hY_31-imgI" class="img-cg auto-width auto-height auto-both" name="img-ChevronRight" src="Pub/Web/Icon/chevron_black_closed-12x12@1x.png" alt="Right" title="Right"></div></div><div id="x8hY_30-2" class="pn-i pn-i-flex a-flex s_62 rf" style="min-width: 0ex;"><div class="comp lh0 s_65"><span class="s_83">MPM Enc Number</span></div></div></div></div></div></div></div><div class="pn-i pn-i-flop" style="width: 100%;"><div id="x8hY_32" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_33" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_33-0" class="pn-i  link navitem" style="width: 100%;" tabindex="0" data-evt="C"><div id="x8hY_34" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_34-0" class="pn-i pn-i-flex a-flex s_81" style="width: 3ex;"><div id="x8hY_35" class="comp comp-g navcomp img-c img-cc s_82"><img id="x8hY_35-imgI" class="img-cg auto-width auto-height auto-both" name="img-ChevronRight" src="Pub/Web/Icon/chevron_black_closed-12x12@1x.png" alt="Right" title="Right"></div></div><div id="x8hY_34-2" class="pn-i pn-i-flex a-flex s_62 rf" style="min-width: 0ex;"><div class="comp lh0 s_65"><span class="s_83">5.x EMR Number</span></div></div></div></div></div></div></div><div class="pn-i pn-i-flop" style="width: 100%;"><div id="x8hY_36" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_37" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_37-0" class="pn-i  link navitem" style="width: 100%;" tabindex="0" data-evt="C"><div id="x8hY_38" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_38-0" class="pn-i pn-i-flex a-flex s_81" style="width: 3ex;"><div id="x8hY_39" class="comp comp-g navcomp img-c img-cc s_82"><img id="x8hY_39-imgI" class="img-cg auto-width auto-height auto-both" name="img-ChevronRight" src="Pub/Web/Icon/chevron_black_closed-12x12@1x.png" alt="Right" title="Right"></div></div><div id="x8hY_38-2" class="pn-i pn-i-flex a-flex s_62 rf" style="min-width: 0ex;"><div class="comp lh0 s_65"><span class="s_83">CSID</span></div></div></div></div></div></div></div><div class="pn-i pn-i-flop" style="width: 100%;"><div id="x8hY_3A" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_3B" class="comp comp-g navcomp pn pn-c pn-s vert" style="width: 100%;"><div id="x8hY_3B-0" class="pn-i  link navitem" style="width: 100%;" tabindex="0" data-evt="C"><div id="x8hY_3C" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_3C-0" class="pn-i pn-i-flex a-flex s_81" style="width: 3ex;"><div id="x8hY_3D" class="comp comp-g navcomp img-c img-cc s_82"><img id="x8hY_3D-imgI" class="img-cg auto-width auto-height auto-both" name="img-ChevronRight" src="Pub/Web/Icon/chevron_black_closed-12x12@1x.png" alt="Right" title="Right"></div></div><div id="x8hY_3C-2" class="pn-i pn-i-flex a-flex s_62 rf" style="min-width: 0ex;"><div class="comp lh0 s_65"><span class="s_83">Accessed</span></div></div></div></div></div></div></div></div></div></div></div><div id="x8hY_1K-2" class="pn-i pn-i-flex s_67" style="width: 1ex;"><span class="s_78">&nbsp;</span></div></div></div></div></div></div></div><div id="x8hY_1I-1" class="pn-i pn-i-flex s_104 rf" style="min-width: 0ex;"><div id="x8hY_3G" class="comp comp-g navcomp pn pn-c pn-flex vert s_105" style="height: 100%; width: 100%;"><div id="x8hY_3G-0" class="pn-i pn-i-flex s_67" style="height: 1%;"><span class="s_78">&nbsp;</span></div><div id="x8hY_3G-1" class="pn-i pn-i-flex a-flex s_81" style="height: 98%; width: 100%;"><div id="x8hY_3H" class="comp comp-g navcomp horiz pn pn-c pn-flex s_82" style="height: 100%; width: 100%;"><div id="x8hY_3H-0" class="pn-i pn-i-flex s_67" style="width: 1%;"><span class="s_78">&nbsp;</span></div><div id="x8hY_3H-1" class="pn-i pn-i-flex s_106" style="height: 97%; width: 96%;"><div id="x8hY_3I" class="comp comp-g navcomp pn pn-c pn-flex vert" style="height: 100%; width: 100%;"><div id="x8hY_3I-0" class="pn-i pn-i-flex s_67" style="height: 86%; width: 100%;"><div id="x8hY_3J" class="comp rttable navcomp rtflex s_107 s_108 s_109 s_110 s_111 s_112 s_113 s_114 s_115 s_116 s_117 s_118 s_119 s_121 s_122 s_123 s_124 s_125 s_142 afterResize persistent-data" data-after-resize="Pweb.comp.recordTable.afterResize_" data-navcomp-type="recordtable" data-evt="Ch C Fi Fo De" data-evh="Pweb.comp.recordTable.event"><div id="x8hY_3J-t" class="s_141 recordtable" data-last-label-spanned-widths="5.51%" data-last-label-initial-width="5.51%" data-column-count="5" data-render-type="TM" data-registered-events="select"><table class="rtlabelbody">  <colgroup class="rtlabelcolgroup"><col class="labelcol0"><col class="labelcol1"><col class="labelcol2"><col class="labelcol3"><col class="labelcol4"><col class="labelscrollcol"></colgroup><tbody><tr class="rtlabel contextfreediventry" id="x8hY_3J-labels"><td id="y8hY_3K" class=" rtlabelcell labelcolumn0" style="border-top: none; border-left: none; border-top-left-radius: inherit; border-bottom-left-radius: inherit;"><label id="y8hY_3K-l" style="" class="">&nbsp;</label></td><td id="y8hY_3L" class="s_120 rtlabelcell labelcolumn1" style="border-top: none;"><label id="y8hY_3L-l" style="" class="">Name</label></td><td id="y8hY_3M" class="s_120 rtlabelcell labelcolumn2" style="border-top: none;"><label id="y8hY_3M-l" style="" class="">DOB &amp; Birth Sex</label></td><td id="y8hY_3N" class="s_120 rtlabelcell labelcolumn3" style="border-top: none;"><label id="y8hY_3N-l" style="" class="">Address &amp; PCP</label></td><td id="y8hY_3O" class=" rtlabelcell labelcolumn4" colspan="2" data-colspan="1" style="border-top: none; border-top-right-radius: inherit; border-bottom-right-radius: inherit;"><label id="y8hY_3O-l" style="" class="">&nbsp;</label></td></tr></tbody></table><div id="x8hY_3J-sc" class="s_140 rtscrollbody" style="overflow-y: scroll;"><table id="x8hY_3J-bd" class="rtbody">  <colgroup><col class="col0"><col class="col1"><col class="col2"><col class="col3"><col class="col4"></colgroup>  <tbody>  <tr id="y8hY_3P-begin" class="hidden"></tr><tr id="x8hY_3J-sc-sevt" class="hidden inc-scroll persistent" data-listen-inc-scroll="true"></tr><tr id="y8hY_3Q" class="rtrow navcomp persistent selected" data-navcomp-type="recordtablerow" style=""><td id="y8hY_3S" class="s_132 rtcell column0 link" data-evt="C" style="border-left: none;"><div class="s_133"><div id="x8hY_3T" class="flowcomp comp navcomp s_65"><span class="s_65"><img class="scalable" src="Pub/Web/Icon/PlaceHolderMan.png" style="height: 60px; "></span></div></div></td><td id="y8hY_3U" class="s_134 rtcell column1 link" data-evt="C"><div class="s_133"><div id="x8hY_3V" class="flowcomp comp navcomp s_65"><span class="s_126"><span id="x8hY_3V-m6" class="link navitem s_127" tabindex="0">Mitchell,Vaughn Allen</span><span>&nbsp;</span></span></div></div></td><td id="y8hY_3W" class="s_135 rtcell column2"><div class="s_133"><div id="x8hY_3X" class="flowcomp comp navcomp"><span class="s_128">10/06/1989</span><span class="s_128"> M</span><br><span class="s_129"></span></div></div></td><td id="y8hY_3Y" class="s_135 rtcell column3"><div class="s_133"><div id="x8hY_3Z" class="flowcomp comp navcomp"><span class="s_128">123 Applet St</span><br><span class="s_130">PCP: </span><span class="s_131">Health,Avera</span></div></div></td><td id="y8hY_3a" class="s_136 rtcell column4"><div class="s_133"><div id="x8hY_3b" class="comp comp-g navcomp img-c img-cc s_82"><img id="x8hY_3b-imgI" class="img-cg auto-width auto-height auto-both link navitem link" tabindex="0" name="img-MoreInfoImage" src="Pub/Web/Icon/infoSmall.png" alt="More Info" title="More Info"></div></div></td></tr><tr id="y8hY_3R" class="rtrow navcomp persistent" data-navcomp-type="recordtablerow"><td id="y8hY_3c" class="s_137 rtcell column0 link" data-evt="C" style="border-left: none; border-bottom-left-radius: inherit;"><div class="s_99"><div id="x8hY_3d" class="flowcomp comp navcomp s_65"><span class="s_65"><img class="scalable" src="Pub/Web/Icon/PlaceHolderMan.png" style="height: 60px; "></span></div></div></td><td id="y8hY_3e" class="s_138 rtcell column1 link" data-evt="C"><div class="s_133"><div id="x8hY_3f" class="flowcomp comp navcomp s_65"><span class="s_126"><span id="x8hY_3f-m7" class="link navitem s_127" tabindex="0">Mitchelltest,Vaughn</span><span>&nbsp;</span></span></div></div></td><td id="y8hY_3g" class=" rtcell column2"><div class="s_99"><div id="x8hY_3h" class="flowcomp comp navcomp"><span class="s_128">01/01/1985</span><span class="s_128"> M</span><br><span class="s_129"></span></div></div></td><td id="y8hY_3i" class=" rtcell column3"><div class="s_99"><div id="x8hY_3j" class="flowcomp comp navcomp"><span class="s_128">1212 One Way</span><span>&nbsp;</span></div></div></td><td id="y8hY_3k" class="s_139 rtcell column4" style="border-bottom-right-radius: inherit;"><div class="s_99"><div id="x8hY_3l" class="flowcomp comp navcomp s_72"><span class="s_72"><img src="Pub/Web/Icon/transparent-pixel.png" style="width: 24px; height: 24px; "></span></div></div></td></tr>  </tbody></table></div></div></div></div><div id="x8hY_3I-1" class="pn-i pn-i-flex a-flex s_143" style="height: 14%; width: 100%;"><div id="x8hY_3o" class="comp comp-g navcomp pn pn-c pn-s vert s_82" style="height: 100%; width: 100%;"><div id="x8hY_3p" class="comp comp-g navcomp afterResize horiz pn pn-c pn-flex" style="height: 100%; width: 100%;" data-after-resize="Pweb.comp.panel.afterResizeChildren"><div id="x8hY_3p-0" class="pn-i pn-i-flex s_67" style="width: 4ex;"><span class="s_78">&nbsp;</span></div><div id="x8hY_3p-1" class="pn-i pn-i-flex a-flex s_64" style="width: 25ex;"><div id="x8hY_3q" class="flowcomp comp navcomp s_65"><span class="s_65"><span class="s_144">Best Match Results&nbsp;</span><img id="x8hY_3q-m8" data-evt="C" class="navitem link s_72" tabindex="0" src="Pub/Web/Icon/infoSmall.png" alt="More Info" title="More Info"></span></div></div><div id="x8hY_3p-2" class="pn-i pn-i-flex s_67" style="width: 2ex;"><span class="s_78">&nbsp;</span></div><div id="x8hY_3p-3" class="pn-i pn-i-flex a-flex s_62 rf" style="min-width: 0ex;"><div id="x8hY_3r" class="comp comp-g navcomp horiz pn pn-c pn-flex s_63" style="width: 100%;"><div id="x8hY_3r-1" class="pn-i pn-i-flex s_67" style="width: 3%;"><span class="s_78">&nbsp;</span></div><div id="x8hY_3r-2" class="pn-i pn-i-flex s_145"><div id="x8hY_3s" class="comp comp-g navcomp pn pn-c pn-s vert s_146"><div id="x8hY_3s-0" class="pn-i  link navitem" tabindex="0" data-evt="C"><div id="x8hY_3t" class="comp comp-g navcomp pn pn-c pn-flex vert s_85"><div id="x8hY_3t-0" class="pn-i pn-i-flex a-flex s_86" style="height: 2.155em;"><div id="x8hY_3u" class="comp navcomp lh0 s_72"><span id="x8hY_3u-s" class="s_87 s-text">New&nbsp;Patient</span></div></div></div></div></div></div><div id="x8hY_3r-3" class="pn-i pn-i-flex s_145"><div id="x8hY_3v" class="comp comp-g navcomp pn pn-c pn-flop vert s_146"></div></div><div id="x8hY_3r-4" class="pn-i pn-i-flex s_145"><div id="x8hY_3w" class="comp comp-g navcomp pn pn-c pn-flop vert s_146"></div></div><div id="x8hY_3r-5" class="pn-i pn-i-flex s_145"><div id="x8hY_3x" class="comp comp-g navcomp pn pn-c pn-flop vert s_146"></div></div><div id="x8hY_3r-6" class="pn-i pn-i-flex s_145"><div id="x8hY_3y" class="comp comp-g navcomp pn pn-c pn-s vert s_146"><div id="x8hY_3y-0" class="pn-i  link navitem" tabindex="0" data-evt="C"><div id="x8hY_3z" class="comp comp-g navcomp pn pn-c pn-flex vert s_85"><div id="x8hY_3z-0" class="pn-i pn-i-flex a-flex s_86" style="height: 2.155em;"><div id="x8hY_40" class="comp navcomp lh0 s_72"><span id="x8hY_40-s" class="s_87 s-text">Clear&nbsp;Search</span></div></div></div></div></div></div></div></div></div></div></div></div></div><div id="x8hY_3H-2" class="pn-i pn-i-flex s_67" style="width: 1%;"><span class="s_78">&nbsp;</span></div></div></div><div id="x8hY_3G-2" class="pn-i pn-i-flex s_67" style="height: 1%;"><span class="s_78">&nbsp;</span></div></div></div></div></div></div></div></div></div></div></div></div></div><div id="y8hY_44" data-state="{&quot;indicators&quot;:[],&quot;missing&quot;:[],&quot;missingHidden&quot;:[],&quot;missingCompIds&quot;:[],&quot;requiredHidden&quot;:[[]]}" data-after-update="Pweb.ui.required.updateState" class="compstate afterUpdate"></div><div id="tooltip" class="tooltip-defaultstyles suppresshovertext"></div></div></div></div><div style="position: absolute; height: 0px; width: 0px; border-width: 0px; border-color: transparent; border-style: none; top: 0px; left: 0px;"></div></div></div></div></div>

 

 

Edited by SkysLastChance
Add HTML

Life's simple. You make choices and you don't look back.

Link to post
Share on other sites

Hi @SkysLastChance,

Please don't post a screenshot of HTML. Either paste the HTML in a code box or attach as an HTML file. Also, it helps if you can provide the URL to a live website. It doesn't have to be for the actual site if that's not possible. 😉

Have you tried locating some of the other elements, such as the table or one of the initial divs?

Dan

Link to post
Share on other sites
Posted (edited)

Sorry, added html

I was able to get this to work using the name element instead of the ID. 

$sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//*[substring(@name, string-length(@name) - string-length('_13') + 1 ) = '_13']")

Does not make any sense to me, but it works so I am not going to complain. 

I also figured out clicking buttons on the pop up work just fine as well. 

Edited by SkysLastChance

Life's simple. You make choices and you don't look back.

Link to post
Share on other sites
  • Solution
Quote

This code below is working to find input fields on the main page of the site. But, if I try the same thing for ones in the popover it will not find it

You didn't provide enough details to know if no matching element was found or if the wrong element was found. I suspect that it may have been the later because there's a flaw in your process of checking for the trailing portion of the element's name, id, whatever. Here's proof from the HTML you just posted --

<div id="z8hY_3" class="innerdoc navcomp navroot baselayer covered-layer" style="z-index: 0" data-navcomp-type="layer">
  
<input id="in8hY_3" type="text" spellcheck="false" autocomplete="off" style="box-sizing:border-box;width:100%;vertical-align:top;color:inherit;" name="in8hY_13" class="navitem s_95" data-evt="Fi Fo" data-evh-fi="Pweb.input.inputTextFocusInWrapper" data-evh-fo="Pweb.input.inputTextFocusOutWrapper" data-evt-props="[&quot;altStyle&quot;]" data-befieldchanged-url="./000000000000o3ihg5.mthd" aria-labelledby="y8hY_1l">

Your xpath would return only the Div element, not the Input element. You can replace the "*" in your xpath with the actual element type, but that still won't guarantee that you get the desired element due to the possibility that there are still multiple matches.

 

Link to post
Share on other sites

I see what you mean.  I will be sure to post the error code going forward. 

This worked.

$sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//input[substring(@id, string-length(@id) - string-length('_3') + 1 ) = '_3']")

Thank you!

Life's simple. You make choices and you don't look back.

Link to post
Share on other sites

I wonder if something like this would work in your situation --

$sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//input[substring(@name, string-length(@name) - 2) = '_11']")
$sName = _WD_ElementAction($sSession, $sElement, 'attribute', 'name')
$sPrefix = StringTrimRight($sName, 3)

Obviously needs some error checking. Once you have the correct prefix. you could use it to retrieve the desired element without the need to take a substring of the ID or name each time.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By mLipok
      wd_capabilities.au3 UDF was changed/modified/refactored .... and commited/merged (02-12-2021) to https://github.com/Danp2/WebDriver

      WARNING: Before you start using this UDF be sure you download the recent version from: https://github.com/Danp2/WebDriver
       
      ==================================================================================================

      Recently I start wd_capabilities.au3 project on my side.
      I think this is time to share to AutoIt community.
      Check attached UDF: wd_capabilities.au3

      Here is a scratch example showing how to use them:
      #include "wd_helper.au3" #include "wd_capabilities.au3" _Example() Func _Example() ........ ........ ........ _WD_Capabilities_Build_Arguments(Null) ; CLEANUP ARGS _WD_Capabilities_Build_Arguments('--headless') _WD_Capabilities_Build_Arguments('start-maximized') _WD_Capabilities_Build_Arguments('disable-infobars') _WD_Capabilities_Build_Arguments('user-data-dir', 'C:\Users\' & @UserName & '\AppData\Local\Google\Chrome\User Data\Default') Local $s_WD_Capabilities_Arguments = _WD_Capabilities_Build_Arguments(Default) ; GET ARGS _WD_Capabilities_Build_Preferences(Null) ; CLEANUP PREFS If $s_Download_dir Then _WD_Capabilities_Build_Preferences('download.default_directory', $s_Download_dir) Local $s_WD_Capabilities_Preferences = _WD_Capabilities_Build_Preferences(Default) ; GET PREFS Local $s_Desired_Capabilities = _WD_Capabilities_Build_JSON('chrome', $s_WD_Capabilities_Arguments, $s_WD_Capabilities_Preferences) Local $WD_SESSION = _WD_CreateSession($s_Desired_Capabilities) ........ ........ ........ EndFunc  
      I plan to publish the code on GitHub.
      In the indefinite future, when the project becomes more functional, if @Danp2 accepts it, I hope it may be included in the main WebDriver UDF.

      I am waiting for yours feedback and help in the further development of this project.

      REMARK 1:
      As so far this UDF only supports GoogleChrome.
      Adding support for other browsers shouldn't be difficult, I just didn't need to.

      REMARK 2:
      For now, this project is working but still as a early BETA, so please do not discuss, ask questions, or post examples or snippets of code that pertain to any function of this UDF in other part of this forum, until it is found acceptable. Simply: discusion and tests only here in this topic.


      Regards,
      @mLipok
       
    • By Hermes
      Hi, I am trying to select elements in print page (dialog window) for a specific web page. But when trying to do so, it looks like it does not allow me to do it.
      So far, this is what I have:
      _WD_WaitElement($sSession, $_WD_LOCATOR_ByCSSSelector, "body") Local $mainpagebody = _WD_FindElement($sSession, $_WD_LOCATOR_ByCSSSelector, "body") _WD_HighlightElement($sSession, $mainpagebody, 2) _WD_WaitElement($sSession, $_WD_LOCATOR_ByCSSSelector, "img.print-button") Local $printbutton = _WD_FindElement($sSession, $_WD_LOCATOR_ByCSSSelector, "img.print-button") _WD_ElementAction($sSession, $printbutton, 'click') _WD_LoadWait($sSession) Sleep(3000) _WD_WaitElement($sSession, $_WD_LOCATOR_ByCSSSelector, "body") Local $printpagebody = _WD_FindElement($sSession, $_WD_LOCATOR_ByCSSSelector, "body") _WD_HighlightElement($sSession, $printpagebody, 2) The script above highlights the main web page "body" element, then clicks a tag to print a specific part of the page, then it will open a print page window where i am trying to highlight the body of that print page - but it looks like it is dropping from the session because it opens up another chrome page chrome://print.
       
      Below is the output log:
      __WD_Post: URL=HTTP://127.0.0.1:9515/session/cd08704233a965ccbaf9292e8692c3e4/element; $sData={"using":"css selector","value":"body"} __WD_Post: StatusCode=200; ResponseText={"value":{"element-6066-11e4-a52e-4f735466cecf":"91a394f0-004c-480d-aedf-52e2b30233c6"}}... _WD_FindElement: {"value":{"element-6066-11e4-a52e-4f735466cecf":"91a394f0-004c-480d-aedf-52e2b30233c6"}} _WD_WaitElement ==> Success __WD_Post: URL=HTTP://127.0.0.1:9515/session/cd08704233a965ccbaf9292e8692c3e4/element; $sData={"using":"css selector","value":"body"} __WD_Post: StatusCode=200; ResponseText={"value":{"element-6066-11e4-a52e-4f735466cecf":"91a394f0-004c-480d-aedf-52e2b30233c6"}}... _WD_FindElement: {"value":{"element-6066-11e4-a52e-4f735466cecf":"91a394f0-004c-480d-aedf-52e2b30233c6"}} __WD_Post: URL=HTTP://127.0.0.1:9515/session/cd08704233a965ccbaf9292e8692c3e4/execute/sync; $sData={"script":"arguments[0].style='background: #FFFF66; border-radius: 5px; padding-left: 3px;'; return true;", "args":[{"element-6066-11e4-a52e-4f735466cecf":"91a394f0-004c-480d-aedf-52e2b30233c6"}]} __WD_Post: StatusCode=200; ResponseText={"value":true}... _WD_ExecuteScript: {"value":true}... __WD_Post: URL=HTTP://127.0.0.1:9515/session/cd08704233a965ccbaf9292e8692c3e4/element; $sData={"using":"css selector","value":"img.print-link"} __WD_Post: StatusCode=200; ResponseText={"value":{"element-6066-11e4-a52e-4f735466cecf":"eb9e4673-4dec-4d4c-be6a-b7967743394b"}}... _WD_FindElement: {"value":{"element-6066-11e4-a52e-4f735466cecf":"eb9e4673-4dec-4d4c-be6a-b7967743394b"}} _WD_WaitElement ==> Success __WD_Post: URL=HTTP://127.0.0.1:9515/session/cd08704233a965ccbaf9292e8692c3e4/element; $sData={"using":"css selector","value":"img.print-link"} __WD_Post: StatusCode=200; ResponseText={"value":{"element-6066-11e4-a52e-4f735466cecf":"eb9e4673-4dec-4d4c-be6a-b7967743394b"}}... _WD_FindElement: {"value":{"element-6066-11e4-a52e-4f735466cecf":"eb9e4673-4dec-4d4c-be6a-b7967743394b"}} __WD_Post: URL=HTTP://127.0.0.1:9515/session/cd08704233a965ccbaf9292e8692c3e4/element/eb9e4673-4dec-4d4c-be6a-b7967743394b/click; $sData={"id":"eb9e4673-4dec-4d4c-be6a-b7967743394b"} __WD_Post: StatusCode=200; ResponseText={"value":null}... _WD_ElementAction: {"value":null}... __WD_Post: URL=HTTP://127.0.0.1:9515/session/cd08704233a965ccbaf9292e8692c3e4/execute/sync; $sData={"script":"arguments[0].style='background: #FFFF66; border-radius: 5px; padding-left: 3px;'; return true;", "args":[{"element-6066-11e4-a52e-4f735466cecf":"eb9e4673-4dec-4d4c-be6a-b7967743394b"}]} __WD_Post: StatusCode=200; ResponseText={"value":true}... _WD_ExecuteScript: {"value":true}... __WD_Post: URL=HTTP://127.0.0.1:9515/session/cd08704233a965ccbaf9292e8692c3e4/execute/sync; $sData={"script":"return document.readyState", "args":[]} __WD_Post: StatusCode=500; ResponseText={"value":{"error":"script timeout","message":"script timeout\n (Session info: chrome=92.0.4515.107)... __WD_Post ==> Webdriver Exception: {"value":{"error":"script timeout","message":"script timeout\n (Session info: chrome=92.0.4515.107)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00C63733+2504499]\n\tOrdinal0 [0x00BFC401+2081793]\n\tOrdinal0 [0x00B024F0+1058032]\n\tOrdinal0 [0x00B55685+1398405]\n\tOrdinal0 [0x00B45E83+1334915]\n\tOrdinal0 [0x00B54CDB+1395931]\n\tOrdinal0 [0x00B45D4B+1334603]\n\tOrdinal0 [0x00B222B4+1188532]\n\tOrdinal0 [0x00B23149+1192265]\n\tGetHandleVerifier [0x00DDFB8C+1512252]\n\tGetHandleVerifier [0x00E8B0DF+2214031]\n\tGetHandleVerifier [0x00CE4BC3+484211]\n\tGetHandleVerifier [0x00CE3E69+480793]\n\tOrdinal0 [0x00C0218D+2105741]\n\tOrdinal0 [0x00C066E8+2123496]\n\tOrdinal0 [0x00C06827+2123815]\n\tOrdinal0 [0x00C0FB73+2161523]\n\tBaseThreadInitThunk [0x75EB62C4+36]\n\tRtlSubscribeWnfStateChangeNotification [0x77C11B69+1081]\n\tRtlSubscribeWnfStateChangeNotification [0x77C11B34+1028]\n"}} _WD_ExecuteScript: {"value":{"error":"script timeout","message":"script timeout\n (Session info: chrome=92.0.4515.107)... _WD_ExecuteScript ==> Webdriver Exception: HTTP status = 500 _WD_LoadWait ==> Webdriver Exception __WD_Post: URL=HTTP://127.0.0.1:9515/session/cd08704233a965ccbaf9292e8692c3e4/element; $sData={"using":"css selector","value":"body"} __WD_Post: StatusCode=200; ResponseText={"value":{"element-6066-11e4-a52e-4f735466cecf":"91a394f0-004c-480d-aedf-52e2b30233c6"}}... _WD_FindElement: {"value":{"element-6066-11e4-a52e-4f735466cecf":"91a394f0-004c-480d-aedf-52e2b30233c6"}} _WD_WaitElement ==> Success __WD_Post: URL=HTTP://127.0.0.1:9515/session/cd08704233a965ccbaf9292e8692c3e4/element; $sData={"using":"css selector","value":"body"} __WD_Post: StatusCode=200; ResponseText={"value":{"element-6066-11e4-a52e-4f735466cecf":"91a394f0-004c-480d-aedf-52e2b30233c6"}}... _WD_FindElement: {"value":{"element-6066-11e4-a52e-4f735466cecf":"91a394f0-004c-480d-aedf-52e2b30233c6"}} __WD_Post: URL=HTTP://127.0.0.1:9515/session/cd08704233a965ccbaf9292e8692c3e4/execute/sync; $sData={"script":"arguments[0].style='background: #FFFF66; border-radius: 5px; padding-left: 3px;'; return true;", "args":[{"element-6066-11e4-a52e-4f735466cecf":"91a394f0-004c-480d-aedf-52e2b30233c6"}]} __WD_Post: StatusCode=200; ResponseText={"value":true}... _WD_ExecuteScript: {"value":true}...  
      Is it even possible to select elements in print page?

    • By Danp2
      Introduction
      This UDF will allow you to interact with any browser that supports the W3C WebDriver specifications. Supporting multiple browsers via the same code base is now possible with just a few configuration settings.
      Requirements
      JSON UDF https://www.autoitscript.com/forum/topic/148114-a-non-strict-json-udf-jsmn
      WinHTTP UDF https://www.autoitscript.com/forum/topic/84133-winhttp-functions/
      HtmlTable2Array UDF (optional) https://www.autoitscript.com/forum/topic/167679-read-data-from-html-tables-from-raw-html-source/
      WebDriver for desired browser
      Chrome WebDriver https://sites.google.com/a/chromium.org/chromedriver/downloads FireFox WebDriver https://github.com/mozilla/geckodriver/releases Edge WebDriver https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/ Source Code
      You will always be able to find the latest version in the GitHub Repo 
      Help / Support
      See the wiki for details on the UDF --
      https://www.autoitscript.com/wiki/WebDriver
      Please post any questions, suggestions or errors in the GH&S thread.
      https://www.autoitscript.com/forum/topic/205553-webdriver-udf-help-support-iii/
      Previous support threads (Closed)
      https://www.autoitscript.com/forum/topic/192730-webdriver-udf-help-support/
      https://www.autoitscript.com/forum/topic/201106-webdriver-udf-help-support-ii/
       
    • By Hermes
      I have Index.html where it contains a frame with a source "frame1.html". I can select/highlight elements in index.html but unable to select/highlight elements inside the frame with the src "frame1.html", the autoit output is throwing error:
      __WD_Post: URL=HTTP://127.0.0.1:9515/session/2143396006437be4005db3b84acc1496/element/8be1c3c4-5bb1-42b1-8cde-7954765cbc61/element; $sData={"using":"css selector","value":"frameset:nth-of-type(1)"} __WD_Post: StatusCode=404; ResponseText={"value":{"error":"no such element","message":"no such element: Unable to locate element: {\"method\... __WD_Post ==> No match: {"value":{"error":"no such element","message":"no such element: Unable to locate element: {\"method\":\"css selector\",\"selector\":\"frameset:nth-of-type(1)\"}\n (Session info: chrome=90.0.4430.212)","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FCE7D3+124883]\n\tOrdinal0 [0x00FCE7B1+124849]\n\tGetHandleVerifier [0x01218688+193832]\n\tGetHandleVerifier [0x0123C478+340760]\n\tGetHandleVerifier [0x012361F1+315537]\n\tGetHandleVerifier [0x012516BA+427354]\n\tGetHandleVerifier [0x01236176+315414]\n\tGetHandleVerifier [0x0125174A+427498]\n\tGetHandleVerifier [0x0125D6EB+476555]\n\tGetHandleVerifier [0x0125154B+426987]\n\tGetHandleVerifier [0x01234FFD+310941]\n\tGetHandleVerifier [0x01235D8E+314414]\n\tGetHandleVerifier [0x01235D19+314297]\n\tGetHandleVerifier [0x012F31EC+1089676]\n\tGetHandleVerifier [0x012F17C9+1082985]\n\tGetHandleVerifier [0x012F13A3+1081923]\n\tGetHandleVerifier [0x013ED9FD+2115741]\n\tOrdinal0 [0x0111B82E+1488942]\n\tOrdinal0 [0x010B5A7D+1071741]\n\tOrdinal0 [0x010B559B+1070491]\n\tOrdinal0 [0x010B54B1+1070257]\n\tOrdinal0 [0x010EFF53+1310547]\n\tBaseThreadInitThunk [0x770662C4+36]\n\tRtlSubscribeWnfStateChangeNotification [0x776B1B69+1081]\n\tRtlSubscribeWnfStateChangeNotification [0x776B1B34+1028]\n"}} Auto IT Script:
      #Include "wd_core.au3" #Include "wd_helper.au3" Local $sDesiredCapabilities, $sSession SetupChrome() _WD_Startup() $sSession = _WD_CreateSession($sDesiredCapabilities) _WD_Navigate($sSession, 'index.html') _WD_LoadWait($sSession) Local $index = _WD_FindElement($sSession, $_WD_LOCATOR_ByCSSSelector, "frameset:nth-of-type(1)") Local $index1 = _WD_FindElement($sSession, $_WD_LOCATOR_ByCSSSelector, "frameset:nth-of-type(1)", $index) Local $index2 = _WD_FindElement($sSession, $_WD_LOCATOR_ByCSSSelector, "frame:nth-of-type(1)", $index1) Local $index3 = _WD_FindElement($sSession, $_WD_LOCATOR_ByCSSSelector, "frameset:nth-of-type(1)", $index2) _WD_HighlightElement($sSession, $index2, 1) _WD_HighlightElement($sSession, $index3, 1) _WD_Shutdown() Func SetupChrome() _WD_Option('Driver', 'chromedriver.exe') _WD_Option('Port', 9515) _WD_Option('DriverParams', '--log-path="' & @ScriptDir & '\chrome.log"') $sDesiredCapabilities = '{"capabilities": {"alwaysMatch": {"goog:chromeOptions": {"w3c": true, "args":["start-maximized","disable-infobars"]}}}}' EndFunc ;==>SetupChrome  

      frame1.html index.html
    • By Hermes
      Hi, sometimes when I run my script in GUI (SciTe Editor) or as an executable file, the chrome driver launches but the chrome browser does not but when I re-run the script again - chrome driver launches and so does the browser. Here is the error that I'm getting:
      __WD_Post: StatusCode=0; ResponseText=WinHTTP request timed out before Webdriver... __WD_Post ==> Send / Recv error: WinHTTP request timed out before Webdriver _WD_CreateSession: WinHTTP request timed out before Webdriver _WD_CreateSession ==> Webdriver Exception: HTTP status = 0 Just wondering if there's a way to re-launch both the driver and browser without having to rerun the script/executable.
       
       
×
×
  • Create New...