In the browser, all these scripts are executed automatically, if you work with the site via the http-client, then you will have to execute these scripts manually.
Thank you @support it seems that even >CSS> :nth-child(2) it changes, but after using inspect sometimes it becomes nth-child(3). I just put to click on (3) after (2) and no issues so far.