> Using the Test function it works fine in Tasker opening the specified URL
> and if the phone screen is unlocked the task works fine too. However, if
> the screen is locked, it will open the browser (when I unlock the phone the
> browser is active) but it will not load the specified URL. It will only
> open the Browser to the last opened page.
Sounds like a problem with the browser.
Try instead of Browse URL:
Variable Set, %LoadOnUnlock, trye
Then create a new profile:
Event: Display Unlocked:
Variable Value: %LoadOnUnlock, Is Set
Task:
Browse URL, ...
Variable Clear, %LoadOnUnlock
So that it's only started when you unlock the screen.
(may not be useful, I don't know what you're trying to achieve)
Pent