Click or drag to resize

PageClientNavigateAsync Method

Version 103.0.120
Navigates current page to the given URL.

Namespace:  CefSharp.DevTools.Page
Assembly:  CefSharp (in CefSharp.dll) Version: 103.0.120.0 (103.0.120.0)
Syntax
public Task<NavigateResponse> NavigateAsync(
	string url,
	string referrer = null,
	TransitionType? transitionType = null,
	string frameId = null,
	ReferrerPolicy? referrerPolicy = null
)

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: TaskNavigateResponse
returns System.Threading.Tasks.Task<NavigateResponse>
See Also