Apply command timeout only if queuing is enabled
MODIFY
lib/basedriver/driver.js
lib/basedriver/driver.js
@@ -307,7 +307,7 @@ class BaseDriver extends Protocol {
// automatic session deletion in this.onCommandTimeout. Of course we don't
// want to trigger the timer when the user is shutting down the session
// intentionally
- if (cmd !== 'deleteSession') {
+ if (this.isCommandsQueueEnabled && cmd !== 'deleteSession') {
// reseting existing timeout
this.startNewCommandTimeout();
}

Apply command timeout only if queuing is enabled (#298)