此设置控制量角器是否应等待页面上的角度。它没有正确记录,但是这里是代码中的文档字符串:/** * If true, Protractor will not attempt to synchronize with the page before * performing actions. This can be harmful because Protractor will not wait * until $timeouts and $http calls have been processed, which can cause * tests to become flaky. This should be used only when necessary, such as * when a page continuously polls an API using $timeout. * * @type {boolean} */换句话说,如果要针对非角度站点进行测试,请将ignoreSynchronization设置设置为true。作为一个真实的例子,请看我从角度页面打开非角度页面时遇到的挑战之一:单击之后打开非角度页面。