We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9864f4 commit 37df89cCopy full SHA for 37df89c
page-objects/mammoth-workwear.js
@@ -19,7 +19,7 @@ module.exports = {
19
20
titleContains: function(expectedTitle) {
21
22
- return driver.getTitle(function(pageTitle) {
+ return driver.getTitle().then(function(pageTitle) {
23
expect(pageTitle).to.contain(expectedTitle);
24
});
25
}
0 commit comments