froth-webdriverio-framework 2.0.22 → 2.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9,7 +9,7 @@ async function assertText(driver, elementSelector, expectedText) {
|
|
|
9
9
|
// Get the actual text from the element
|
|
10
10
|
// const element = await driver.$(elementSelector);
|
|
11
11
|
// console.log("actual text is:" + element)
|
|
12
|
-
const actualText = await driver.$(elementSelector).
|
|
12
|
+
const actualText = await driver.$(elementSelector).getText();
|
|
13
13
|
// const actualText = await element.getText();
|
|
14
14
|
console.log("actual text is:" + actualText)
|
|
15
15
|
|