I have an HtmlListItem with the following innerText:
Emergency Override ConfidentialEmergency Medical CareQualified Service OrganizationPatient conscious, hystericalTo avert serious threats to health or safetyPursuant to reporting of abuse, or violencePursuant to Public Health ActivitiesPursuant to law enforcement activitiesPursuant to activities of Medical Examiner
This property is coming from it's child HtmlUnorderedList with it's children HtmlListItems. Its parent is an HtmlUnorderedList. If I do the following, the find works:
HtmlUnorderedListObject.Find.ByContent<HtmlListItem>("Emergency Override ConfidentialEmergency Medical CareQualified Service OrganizationPatient conscious, hystericalTo avert serious threats to health or safetyPursuant to reporting of abuse, or violencePursuant to Public Health ActivitiesPursuant to law enforcement activitiesPursuant to activities of Medical Examiner", FindContentType.InnerText);
But, doing the following does not:
HtmlUnorderedListObject.Find.ByContent<HtmlListItem>("p:Emergency Override Confidential", FindContentType.InnerText);
Is the space in the partial string throwing the Find off?
Emergency Override ConfidentialEmergency Medical CareQualified Service OrganizationPatient conscious, hystericalTo avert serious threats to health or safetyPursuant to reporting of abuse, or violencePursuant to Public Health ActivitiesPursuant to law enforcement activitiesPursuant to activities of Medical Examiner
This property is coming from it's child HtmlUnorderedList with it's children HtmlListItems. Its parent is an HtmlUnorderedList. If I do the following, the find works:
HtmlUnorderedListObject.Find.ByContent<HtmlListItem>("Emergency Override ConfidentialEmergency Medical CareQualified Service OrganizationPatient conscious, hystericalTo avert serious threats to health or safetyPursuant to reporting of abuse, or violencePursuant to Public Health ActivitiesPursuant to law enforcement activitiesPursuant to activities of Medical Examiner", FindContentType.InnerText);
But, doing the following does not:
HtmlUnorderedListObject.Find.ByContent<HtmlListItem>("p:Emergency Override Confidential", FindContentType.InnerText);
Is the space in the partial string throwing the Find off?