Have to do it another way when inspection copy fails.
So as example the CSS class attribute would be:
<button is="paper-icon-button-light" id="button" class="dropdown-trigger style-scope ytd-menu-renderer" aria-label="More actions">
aria-label
is an attribute that can be selected with @
(Selects attributes).So as example the CSS class attribute would be:
//button[@class="dropdown-trigger style-scope ytd-menu-renderer"]But as several buttons that has same name of class and id,there is
aria-label="More actions"
attribute that is unique to only that button.