automation_model 1.0.34 → 1.0.35
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.
- package/bin/stable_browser.js +1 -0
- package/package.json +1 -1
package/bin/stable_browser.js
CHANGED
|
@@ -196,6 +196,7 @@ class StableBrowser {
|
|
|
196
196
|
await this._screenShot(options);
|
|
197
197
|
let foundText = await element.textContent();
|
|
198
198
|
if (!foundText.includes(text)) {
|
|
199
|
+
info.foundText = foundText;
|
|
199
200
|
throw new Error("element doesn't contain text " + text);
|
|
200
201
|
}
|
|
201
202
|
//await expect(element).toContainText(text, { timeout: 10000 });
|