我使用selenuim,我尝试没有成功找到元素class =“user-card_photo”每次点击新浏览器,但我不能这样做。任何人都可以帮助我找到selenuim单向驱动程序找到类class =“user-card_photo”
<body>
<div id="search">
<div class="justify search">
<div class="search_col">
<div class="user-card">
<div class="user-card_photo">
</div>
<div class="user-card_photo_section">
</div>
</div>
<div class="user-card">
<div class="user-card_photo">
</div>
<div class="user-card_photo_section">
</div>
</div>
</div>
<div class="search_col">
<div class="user-card">
<div class="user-card_photo">
</div>
<div class="user-card_photo_section">
</div>
</div>
<div class="user-card">
<div class="user-card_photo">
</div>
<div class="user-card_photo_section">
</div>
</div>
<div class="user-card">
<div class="user-card_photo">
</div>
<div class="user-card_photo_section">
</div>
</div>
</div>
</div>
</div>
</body>
如果有人用c#代码回答我的问题,我将不胜感激