GetStyleFromElementByIdAsync

Parent Previous Next

GetStyleFromElementByIdAsync

Description: the method returns the style of the element from the specified property

Syntax: GetStyleFromElementByIdAsync(string id, string property)

Return value: string


Example:

string style = await tester.GetStyleFromElementByIdAsync("buttonLogin", "background-color");

Created with the Personal Edition of HelpNDoc: Produce electronic books easily