You can also use tabs. When load page with search results, you can get/scrape link or links and use them to load that link/s in new tab/s. So to go back to search page you can simply switch to that (first) tab.
@hifive said in CSS>Element-id>Match>text:
i need to click on an element. The text is "Activate"
Previously I can just click on element-id, without specifying the text.
Now the element id keeps changing ie different id for each login session.
I cannot click on the element-id anymore.
I think maybe i should match the text because the text does not change .. it is always "Activate"
Upon inspection, the html for this text is
<span class="status-text _spcontent-zha-10">Activate</span>
I tried these but didn't work:
How can I match and click?
Use the xpath text search selector