[docs] Additional information about the method getStyleProperty
and property style
#6858
Labels
AREA: docs
An issue related to the product documentation.
TYPE: enhancement
The accepted proposal for future implementation.
What is your Scenario?
There is some misunderstanding about the method getStyleProperty in the documentation. It's written that 'the computed value of the CSS' with the link on method getComputedStyle. But if we use properties of two or more words in the 'camelCase' format like 'background Color' as with method getComputedStyle, we'll get the undefined value.
Documentation link: https://testcafe.io/documentation/402670/reference/test-api/domnodestate#members-specific-to-element-nodes
What are you suggesting?
It's needed to note in the documentation, that we should use names in the 'kebab-case' format.
Discussion link: https://teams.microsoft.com/l/message/19:[email protected]/1644226835582?tenantId=e4d60396-9352-4ae8-b84c-e69244584fa4&groupId=f74b7d18-34a4-4c78-b7d5-b56e55ce3236&parentMessageId=1644226835582&teamName=Teams%20Collaborations&channelName=TestCafe&createdTime=1644226835582
What alternatives have you considered?
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: