We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 888caed commit a10c444Copy full SHA for a10c444
test/helper/webapi.js
@@ -756,7 +756,18 @@ module.exports.tests = function () {
756
757
await I.amOnPage('/info')
758
const val = await I.grabHTMLFrom('#grab-multiple')
759
- assert.equal('<a id="first-link">First</a>\n<a id="second-link">Second</a>\n<a id="third-link">Third</a>', val)
+ if (isHelper('WebDriver')) {
760
+ assert.equal('<a id="first-link">First</a>\n<a id="second-link">Second</a>\n<a id="third-link">Third</a>', val)
761
+ } else {
762
+ assert.equal(
763
+ `
764
+ <a id="first-link">First</a>
765
+ <a id="second-link">Second</a>
766
+ <a id="third-link">Third</a>
767
+`,
768
+ val,
769
+ )
770
+ }
771
})
772
773
it('should grab value from field', async () => {
0 commit comments