ContextSearch-web-ext
ContextSearch-web-ext copied to clipboard
Get another tab from same page
Hi Mike, this template:
https://www.bibliotechediroma.it/opac/query/%s?bib=RMBO2&context=tmatm
displays the result under the "Lo trovi in" tab, I would like instead to retrieve the record under the "Scheda" tab.
This is an example of the result I get: link.
EDIT. I think I solved simulating a click event, in post-search script, though it's not very fast to trigger the click action:
const schedaTab = document.getElementById('tabDocument_item_tabcata');
if (schedaTab) schedaTab.click();
Thank you!