Click or drag to resize

PageClientNavigateAsync Method

Version 112.3.0
Navigates current page to the given URL.

Namespace:  CefSharp.DevTools.Page
Assembly:  CefSharp.Core (in CefSharp.Core.dll) Version: 112.3.0.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