File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ lineForType: {
9595 "switchToFrame" :
9696 function ( step ) { return scriptify ( "$browser.switchTo().frame('" + step . identifier + "')" ) ; } ,
9797 "switchToFrameByIndex" :
98- function ( step ) { return scriptify ( "$browser.switchTo().frame(' " + step . index + "' )" ) ; } ,
98+ function ( step ) { return scriptify ( "$browser.switchTo().frame(" + step . index + ")" ) ; } ,
9999 "switchToWindow" :
100100 function ( step ) { return scriptify ( "$browser.switchTo().window('" + step . name + "')" ) ; } ,
101101 "switchToDefaultContent" :
@@ -411,8 +411,7 @@ lineForType: {
411411 "{getterFinish}" , getter ) ; } ,
412412 boolean_getters : {
413413 "TextPresent" : {
414- getter : "$browser.findElement(By.tagName('body')).getText()\n" +
415- " .then(function (text) { return text.indexOf({text}) != -1; })" ,
414+ getter : "$browser.findElement(By.tagName('body')).getText().then(function (text) { return text.indexOf({text}) != -1; })" ,
416415 getterFinish : "})\n\n" ,
417416 value : "{text}"
418417 } ,
You can’t perform that action at this time.
0 commit comments