File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ class Page {
5050
5151 // color picker elements
5252 this . color_picker = element ( by . model ( 'color' ) ) ;
53- this . input_field = element ( by . model ( 'AngularColorPickerController.ngModel ' ) ) ;
53+ this . input_field = element ( by . model ( 'AngularColorPickerController.internalNgModel ' ) ) ;
5454 this . color_picker_panel = element ( by . css ( '.color-picker-panel' ) ) ;
5555 this . swatch = element ( by . css ( '.color-picker-swatch' ) ) ;
5656 this . swatch_left = element ( by . css ( '.color-picker-swatch-left' ) ) ;
Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ var chrome_driver = null;
1212for ( var i = 0 ; i < files . length ; i ++ ) {
1313 if ( / ^ s e l e n i u m - s e r v e r - s t a n d a l o n e - [ \d \. ] + \. j a r $ / i. test ( files [ i ] ) ) {
1414 selenium_server_jar = files [ i ] ;
15- } else if ( / ^ c h r o m e d r i v e r _ [ \d \. ] + $ / i. test ( files [ i ] ) ) {
15+ } else if ( / ^ c h r o m e d r i v e r _ [ \d \. ] + $ / i. test ( files [ i ] ) ) { // linux
16+ chrome_driver = files [ i ] ;
17+ } else if ( / ^ c h r o m e d r i v e r _ [ \d \. ] + .e x e $ / i. test ( files [ i ] ) ) { // windows
1618 chrome_driver = files [ i ] ;
1719 }
1820}
You can’t perform that action at this time.
0 commit comments