大家好,我是宋哈哈,本次的文章只是想做个笔记分享。
from mon.action_chains import ActionChainsfrom mon.keys import Keyshtml = ActionChains(driver).move_to_element(element)#移动到该元素html.context_click(element)#右键点击该元素html.send_keys(Keys.ARROW_DOWN)#点击键盘向下箭头html.send_keys('v')#键盘输入V保存图html.perform()#保存