UI自动化定位控件添加醒目标识

self.driver.execute_script("arguments[0].style.border='2px solid red'", 你在前面得到的控件)

原文地址:https://www.cnblogs.com/ptest/p/11647194.html