Issue #3158119 by siddhant.bhosale: Replace all the occurrence of assertTitle() method, that is deprecated