Asynchronous script timeout

I am new to protractor and am using Protractor-net. Receiving the exception "Asynchronous script timeout: no result in 0 seconds" when running Protractor-net scripts.

https://github.com/bbaia/protractor-net

Does this mean that the parameter passing to identify the angular element is incorrect?

Found this solution to solve this problem - https://github.com/angular/protractor/issues/117

How can I achieve the same in the protractor network?

+4
source share
1 answer

- async, , , 0 , driver. - Angular.

[SetUp]
public void SetUp()
{
    //driver = new PhantomJSDriver();
    driver = new ChromeDriver();
    //SetScriptTimeout is the asysn script timeout
    driver.Manage().Timeouts().SetScriptTimeout(TimeSpan.FromSeconds(5));
}

. this

+6

All Articles