PageClientNavigateAsync Method |
Version 92.0.260
Navigates current page to the given URL.
Namespace:
CefSharp.DevTools.Page
Assembly:
CefSharp (in CefSharp.dll) Version: 92.0.260.0 (92.0.260.0)
Syntax public Task<NavigateResponse> NavigateAsync(
string url,
string referrer = null,
TransitionType? transitionType = null,
string frameId = null,
ReferrerPolicy? referrerPolicy = null
)
public:
Task<NavigateResponse^>^ NavigateAsync(
String^ url,
String^ referrer = nullptr,
Nullable<TransitionType> transitionType = nullptr,
String^ frameId = nullptr,
Nullable<ReferrerPolicy> referrerPolicy = nullptr
)
Parameters
- url
- Type: SystemString
URL to navigate the page to. - referrer (Optional)
- Type: SystemString
Referrer URL. - transitionType (Optional)
- Type: SystemNullableTransitionType
Intended transition type. - frameId (Optional)
- Type: SystemString
Frame id to navigate, if not specified navigates the top frame. - referrerPolicy (Optional)
- Type: SystemNullableReferrerPolicy
Referrer-policy used for the navigation.
Return Value
Type:
TaskNavigateResponsereturns System.Threading.Tasks.Task<NavigateResponse>
See Also