protractor icon indicating copy to clipboard operation
protractor copied to clipboard

protractor unable to locate element on non angular page

Open ProtHelp opened this issue 11 years ago • 1 comments

describe('cct homepage',function(){ it('should open the page with title',function() { browser.manage().timeouts().setScriptTimeout(60000); browser.pause(5000); browser.ignoreSynchronization=true; browser.get("http://google.com",400000); browser.sleep(2000); element(by.id('q')).sendKeys('hi'); });

protractor is unable to identify the element, can you help me and let me know what is the issue with my code

ProtHelp avatar Nov 06 '15 12:11 ProtHelp

Hi there!

Your question is better suited for StackOverflow or Gitter. Please ask a question there with the 'protractor' tag or post in the Gitter Channel to get help.

From the the getting help section of the README:

Please ask usage and debugging questions on StackOverflow (use the "protractor" tag) or in the Angular discussion group. (Please do not ask support questions here on Github.)

NickTomlin avatar Nov 06 '15 15:11 NickTomlin