#!/usr/bin/python#-*- coding: UTF-8 -*-#@Time : 2019年12月9日11:41:08#@Author : shenghao/10347899@qq.com
'''test with selenium's move by x,y'''
from builtins import print
from selenium importwebdriverfrom selenium.webdriver.support.ui importWebDriverWaitfrom selenium.webdriver.support importexpected_conditions as ECfrom selenium.webdriver.common.by importByimportcv2 as cvimporttime, datetime, random,shutilfrom selenium.webdriver.common.action_chains importActionChainsfrom selenium.webdriver.common.touch_actions importTouchActionsfrom selenium.webdriver.common.keys importKeysfrom PIL importImageimportrequestsfrom io importBytesIOimportcv2, time, sys,reimportmatplotlib.pyplot as pltimportnumpy as npclassselenium(object):def __init__(self):
self.headers={"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.8