Check For Value Within Test Of Testcafe
I use TestCafe to automate testing a specific function. In this function, the user is only allowed to have 5 entries. On the site is a label that indicates how many entries are lef
Solution 1:
TestCafe Selectors provide asynchronous properties to obtain element state values. To get element text, call the textContent
property with the await
directive:
const paragraph = Selector("p").withText("possible entries");
const extractEntries = await paragraph.textContent;
Post a Comment for "Check For Value Within Test Of Testcafe"