If you use Windows store apps project (WP8.1/Win8.1), WebBrowserTask class was replaced by Launcher class.
Now you must use LaunchUriAsync method from Launcher class
Some useful resources :
What's New in Windows Phone 8.1
Migrating your Windows Phone 8 app to a Windows Runtime XAML app