@@ -64,13 +64,13 @@ exports.wrapDriver = function(webdriver) {
6464 } ;
6565} ;
6666
67- var By = function ( ) { }
68- var ByWrapper = function ( ) { } ;
69- ByWrapper . prototype = require ( 'selenium-webdriver' ) . By ;
67+ var ProtractorBy = function ( ) { }
68+ var WebdriverBy = function ( ) { } ;
69+ WebdriverBy . prototype = require ( 'selenium-webdriver' ) . By ;
7070
71- util . inherits ( By , ByWrapper ) ;
71+ util . inherits ( ProtractorBy , WebdriverBy ) ;
7272
73- By . prototype . binding = function ( ) {
73+ ProtractorBy . prototype . binding = function ( ) {
7474 return {
7575 using : 'js' ,
7676 value : function ( ) {
@@ -88,26 +88,26 @@ By.prototype.binding = function() {
8888 } ;
8989} ;
9090
91- By . prototype . select = function ( model ) {
91+ ProtractorBy . prototype . select = function ( model ) {
9292 return {
9393 using : 'css selector' ,
9494 value : 'select[ng-model=' + model + ']'
9595 } ;
9696} ;
9797
98- By . prototype . selectedOption = function ( model ) {
98+ ProtractorBy . prototype . selectedOption = function ( model ) {
9999 return {
100100 using : 'css selector' ,
101101 value : 'select[ng-model=' + model + '] option[selected]'
102102 } ;
103103} ;
104104
105- By . prototype . input = function ( model ) {
105+ ProtractorBy . prototype . input = function ( model ) {
106106 return {
107107 using : 'css selector' ,
108108 value : 'input[ng-model=' + model + ']'
109109 } ;
110110}
111- By . prototype . repeater = null ;
111+ ProtractorBy . prototype . repeater = null ;
112112
113- exports . By = new By ( ) ;
113+ exports . By = new ProtractorBy ( ) ;
0 commit comments