Protractor clear() not working

前端 未结 5 681
心在旅途
心在旅途 2021-01-03 21:39

I have two tests:

  it(\'should filter the phone list as user types into the search box\', function() {

    var results = ptor.findElements(protractor.By.re         


        
5条回答
  •  情话喂你
    2021-01-03 22:22

    You can combine promisses into a chain:

    queryInput.clear().sendKeys('nexus');

提交回复
热议问题