Check Substring Exists In String Javascript Methods In Selenium