I'm trying to get the absolute path but I dont get the correct result. This is I'm trying:
Given I have this html page url:
url1 = 'build/en/index.html'
and I have this relative path in the file:
url2 = '/pub-assets/css/indexen.css'
I'm doing:
urljoin(url1, url2)
So I should get build/pub-assets/css/indexen.css
but I don't get what is expected. Any suggestion much appreciated.