Added pause method, trying to inject defaultTimeout and defaultSleep but it doesn't work.