google.com is not an Angular application, but Protractor can still test it, right? I am trying to perform a simple search test, but continue to work with errors.
specification:
browser.ignoreSynchronization = true; describe('Google Demo', function() { it('Should Search', function() { browser.get('http://google.com/'); browser.wait(element(By.id('q')).isPresent); element(By.id('q')).sendKeys('please work'); }); });
error:
Failures: 1) Google Demo Should Search Message: TypeError: Cannot read property 'count' of undefined
What am I doing wrong? I would be grateful for any help!
source share