For the VICE PRESIDENT, we can use the following method:
div:contains(VICE PRESIDENT)
However, when attempting to select the PRESIDENT using the same method, we do not get a perfect match.
div:contains(PRESIDENT)
Is there a way to achieve the perfect match for selecting the PRESIDENT? Please advise.
<div style="display: flex; flex-wrap: wrap; margin: -6px -10px;" class="">
<div style="box-sizing: border-box; padding: 6px; width: 16.6667%; height: 242px;">
<div>
<div style="cursor: pointer;">
<div tabindex="0" id="3353900_1746af24-b83f-4d7e-90ea-3eb7a145986a" style="color: rgba(0, 0, 0, 0.87); background-color: rgb(255, 255, 255); transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; box-sizing: border-box; font-family: "Source Sans Pro", sans-serif; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 6px, rgba(0, 0, 0, 0.12) 0px 1px 4px; border-radius: 2px;...