📌  相关文章
📜  如果 msg2 == : System.out.print("[ >>>Live CC<<<]"+msg2) else System.out.print("Dead CC"+msg2) - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:59.785000             🧑  作者: Mango

代码示例1
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)