I need to click a 3-elipses button/element on a page. It doesn't have the usual ID, Name etc. Once clicked, there is a drop down and I need to click COPY from the drop down. How do I click these elements. Thanks. Here is the code:
Elipses Button HTML
Drop down Item HTML
I tried this but the VBE didn't like the last underscore:
More of the HTML if it would help.
Elipses Button HTML
VBA Code:
<span class="more-item-trigger__white cyb-icon-ic_more" _ngcontent-cog-c54=""></span>
Drop down Item HTML
VBA Code:
<span class="action-menu-item__text" style="overflow: hidden; -ms-text-overflow: ellipsis;" _ngcontent-cog-c62=""> Copy </span>
I tried this but the VBE didn't like the last underscore:
VBA Code:
ie.Document.getElementsByClassName("more-item-trigger__white cyb-icon-ic_more" _ngcontent-bfb-c54="")
More of the HTML if it would help.
VBA Code:
<button class="small white--colors small-white more-item-trigger more-item-trigger--colors more-item-trigger--typography more-item-trigger--" aria-label="more items" data-testid="more-actions-button" _ngcontent-mcx-c54="">
<span class="more-item-trigger__white cyb-icon-ic_more" _ngcontent-mcx-c54="">
</span>
</button>