Skip to content

Commit

Permalink
Removed unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacekbogdanski committed Jul 29, 2020
1 parent 1f8389d commit 3f96ad6
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions e2e/src/app.po.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class AppPage {
}

async getHtmlString( el: WebElement ) {
return el.getAttribute( 'innerHTML' ).then( str => str.replace( /\u200B/g, '' ) );
return el.getAttribute( 'innerHTML' );
}

async updateValue( el: WebElement, text: string ) {
Expand All @@ -44,12 +44,4 @@ export class AppPage {
await el.sendKeys( text.charAt( i ) );
}
}

selectAll() {
return browser.executeScript( 'document.execCommand( "selectAll", false, null )' );
}

delete() {
return browser.executeScript( 'document.execCommand( "delete", false, null )' );
}
}

0 comments on commit 3f96ad6

Please sign in to comment.