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