Replies: 2 comments 2 replies
-
Please provide example code. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ok, let's say I want to get z-index, so var div = await devToolsContext.QuerySelectorAsync<HtmlDivElement>("#myDiv");
var style = await div.GetStyleAsync();
var zindex = await style.GetPropertyValueAsync<int>("z-index"); So given the generic method But it is string (at least for all properties I have tried so far) |
Beta Was this translation helpful? Give feedback.
2 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
Hi,
Value of GetPropertyValueAsync seems to be always returning string, regardless of T. Is this on purpose/error or am I missing some point in how it should be used?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions