javascript - Protractor TAB key has stopped changing focus and is now adding spaces -


we have protractor tests uses tab key change focus next input field, , working great.

somewhere in last days has stopped changing focus , adding spaces instead.

  • manually, pressing tab workers.
  • we tested google.com , behaves same.

did encounter change of behaviour?

thanks!

    var tab = protractor.key.tab;      describe('testing', function() {       it('should stuff.', function() {         browser.ignoresynchronization = true; // non angular page.          browser.get('http://www.google.com');         browser.sleep(1000);         $('.gsfi').sendkeys('123');         browser.sleep(1000); // have time look.         browser.actions().sendkeys(protractor.key.tab).perform(); //different methods, same effect.         $('.gsfi').sendkeys(tab); // different methods, same effect.       });     }); 

it seems regression in chrome 44. i've pointed on an issue in protractor bug tracker in comments. here issue in chromedriver bug tracker, describes same behavior. in cases not tab, enter , space keys started failing.

reading comments of these issues brings conclusion there changes in chromium sources in how input events being handled (possible breaking diff).

there an issue in chromium bug tracker aboit it, developers has been fixed, take time fix stable release of chrome. if in hurry, should downgrade chrome version below 44.0.2358.0 (source).

update:

i've got update , tab key working again in chrome 44.0.2403.130.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -