No element found using locator: by.model() error

后端 未结 1 646
情话喂你
情话喂你 2020-12-17 20:53

I\'m writing an end to end test using protractor for my application. I\'m seeing errors of the form:

No element found using locator: By.model(\"address.fullN         


        
相关标签:
1条回答
  • 2020-12-17 21:07

    I've had some close errors, my error occurred cause the item was not shown on the page or protractor did not finish updating its model so before using the variable i:
    -maximized the page: If the element was unseen browser.manage().window().maximize();
    -opened the list the item was in:
    -waiting for protractor to finish updating it's model:

    var ptor = protractor.getInstance();
    ptor.waitForAngular();
    
    0 讨论(0)
提交回复
热议问题