Selenium has a promise manager intended to have asynchronous operations go into a queue to be executed in order and give the feeling of synchronous programming without having the have a huge promise chain.
Working with the promise manager and synchronous operations can be awkward and lead to intermittent failures.
Newer selenium versions work with JavaScripts async/await feature and no longer require the promise manager. In fact, the promise manager will be removed completely in later versions of selenium.
Using the promise manager and async/await is inadvisable. The recommendation is to use async/await and turn off the promise manager. This issue is to do that work.
Selenium has a promise manager intended to have asynchronous operations go into a queue to be executed in order and give the feeling of synchronous programming without having the have a huge promise chain.
Working with the promise manager and synchronous operations can be awkward and lead to intermittent failures.
Newer selenium versions work with JavaScripts async/await feature and no longer require the promise manager. In fact, the promise manager will be removed completely in later versions of selenium.
Using the promise manager and async/await is inadvisable. The recommendation is to use async/await and turn off the promise manager. This issue is to do that work.