angularjs - asynchronous script timeout -
i new protractor & using protractor-net. getting "asynchronous script timeout: result not received in 0 seconds" exception when running protractor-net scripts.
https://github.com/bbaia/protractor-net
does mean parameter passing identify angular element wrong?
found solution solve - https://github.com/angular/protractor/issues/117
how achieve same in protractor-net?
you need set async timeout increase timeout if don't want 0
, wherever driver
instantiated. it particularly essential due nature of angular's asynchronous behavior.
[setup] public void setup() { //driver = new phantomjsdriver(); driver = new chromedriver(); //setscripttimeout asysn script timeout driver.manage().timeouts().setscripttimeout(timespan.fromseconds(5)); }
see this
Comments
Post a Comment