I have a problem when trying to find an element with the different attribute as sample bellow
<i>bold</i> Sometime <i class='icon'/i>
I want to try inspecting this element with OR operator in PageObject
i(:icon_bold, text: 'bold' OR class: 'icon') (just example, this is not correct)
So please help me to give the correct syntax to locator.