inputs = driverfind_elementsByTAG_NAME input visible_inputs = for input in inputs if inputis_displayed and inputget_attributetype != hidden visible_inputsappendinputlocation这样
这段代码获取的是输入框的左上角坐标。
原文地址: http://www.cveoy.top/t/topic/ismk 著作权归作者所有。请勿转载和采集!