msg2 = driver.find_elements_by_xpath('//*[@id="cdk-overlay-3"]/snack-bar-container/app-kount-snackbar/span').getText() if msg2 == : System.out.print("[>>>Live CC<<<]"+msg2) else System.out.print("Dead CC"+msg2)
msg2 = driver.find_elements_by_xpath('//*[@id="cdk-overlay-3"]/snack-bar-container/app-kount-snackbar/span').getText()
if msg2 == :
System.out.print("[>>>Live CC<<<]"+msg2)
else
System.out.print("Dead CC"+msg2)