SetStyleInElementByTagAsync

Parent Previous Next

SetStyleInElementByTagAsync

Description: the method sets the style of the element

Syntax: SetStyleInElementByTagAsync(string tag, int index, string cssText)

Return value: no return value


Example:

await tester.SetStyleInElementByTagAsync("h2", 0, "background-color: #123456;");

Created with the Personal Edition of HelpNDoc: Free PDF documentation generator