I have this html:
<div tabindex="0" class="ember-basic-dropdown-trigger ember-power-select-trigger ember-power-select-trigger-2568211667 category-select t-ticket-category-select-trigger">
Building
</div>
<div tabindex="0" class="ember-basic-dropdown-trigger ember-power-select-trigger ember-power-select-trigger-6101225577 category-select t-ticket-category-select-trigger">
Warehouse
</div>
I would like to access the text in the 2nd div that has the same CSS class name, but am not sure how to access it.
I have some XPath code like this, but this doesn't work:
//*[contains(@class, 't-ticket-category-select-trigger')]
cssselectlibrary, which converts CSS selectors to Xpath (github.com/SimonSapin/cssselect).