We have some protractor testers that use the TAB key to change focus to the next input field, and it works great.
Somewhere in recent days, he stopped changing focus and now adds spaces.
- manually by clicking on the TAB tabs.
- we also tested google.com and it behaves the same.
Has anyone come across this behavior change?
Thank!
var tab = protractor.Key.TAB;
describe('testing', function() {
it('Should do stuff.', function() {
browser.ignoreSynchronization = true;
browser.get('http://www.google.com');
browser.sleep(1000);
$('.gsfi').sendKeys('123');
browser.sleep(1000);
browser.actions().sendKeys(protractor.Key.TAB).perform();
$('.gsfi').sendKeys(tab);
});
});
source
share