| CSSClientForcePseudoStateAsync Method  | 
Version 90.6.50 
            Ensures that the given node will have specified pseudo-classes whenever its style is computed by
            the browser.
            
 
    Namespace: 
   CefSharp.DevTools.CSS
    Assembly:
   CefSharp (in CefSharp.dll) Version: 90.6.50.0 (90.6.50.0)
 Syntax
Syntaxpublic Task<DevToolsMethodResponse> ForcePseudoStateAsync(
	int nodeId,
	string[] forcedPseudoClasses
)
public:
Task<DevToolsMethodResponse^>^ ForcePseudoStateAsync(
	int nodeId, 
	array<String^>^ forcedPseudoClasses
)
Parameters
- nodeId
- Type: SystemInt32
 The element id for which to force the pseudo state.
- forcedPseudoClasses
- Type: SystemString
 Element pseudo classes to force when computing the element's style.
Return Value
Type: 
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
 See Also
See Also