I feel the issue is with every dynamic HTML content but you can check for the content as below
<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>
<table class="table dataTable no-footer dtr-inline collapsed" id="gvPatientDetails" role="grid" aria-describedby="gvPatientDetails_info" style="box-sizing: content-box; border-collapse: collapse; border-spacing: 0px; max-width: 100%; background-color: rgb(255, 255, 255); width: 1232.67px; margin: 0px auto; clear: both; border-bottom: none; color: rgb(51, 51, 51); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; table-layout: fixed; overflow-wrap: break-word; height: 350px;"><tbody style="box-sizing: border-box;"><tr data-patientid="1427" role="row" class="odd" style="box-sizing: border-box; background-color: rgb(255, 255, 255);"><td style="box-sizing: content-box; padding: 8px 10px; line-height: 1.42857; vertical-align: top; border-top: 1px solid rgb(221, 221, 221);">1</td><td style="box-sizing: content-box; padding: 8px 10px; line-height: 1.42857; vertical-align: top; border-top: 1px solid rgb(221, 221, 221);">26/07/2019 20:31:30</td><td style="box-sizing: content-box; padding: 8px 10px; line-height: 1.42857; vertical-align: top; border-top: 1px solid rgb(221, 221, 221);">Maa Mahamaya Hospital</td></tr></tbody></table>
</body></html>