Powered by
If you use template literals you can actually use ...
# e2e-testing
f
faint-kangaroo-63063
12/06/2022, 7:01 AM
If you use template literals you can actually use .type(‘${yourFunc()}{enter}’) same as .type(yourFunc()+’{enter}’) - this will also work, it’s just plain JS syntax and sugar more details here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#string_interpolation
2
Views
Previous
Next