How to execute a click() on this web page tab?
At first a (german) sample web page:
https://www.wikifolio.com/de/de/w/wf0futecus
In the middle of the web page you will find four "tabs":
- Handelsidee
- Portfolio
- Analyse
- Trades
By default the first tab "Handelsidee" is enabled.
Now I want to apply (in a Greasemonkey script) a jQuery statement which automatically clicks on the tab "Portfolio" when the web page is loaded.
How can I achieve this?
The following does NOT work:
$('.js-tab__link.c-wfdetail__tab-link.gtm-portfolio-tab').click();
What else do I have to use?
Peter