文件名称:python_selenium
文件大小:2KB
文件格式:PY
更新时间:2021-05-28 09:45:04
selenium
# mobileEmulation = {"deviceMetrics": {"width": WIDTH, "height": HEIGHT, "pixelRatio": PIXEL_RATIO}} # option.add_argument("--user-agent=mozilla/5.0 (iphone; cpu iphone os 5_1_1 like mac os x) applewebkit/534.46 (khtml, like gecko) mobile/9b206 micromessenger/5.0") # option.add_experimental_option('mobileEmulation', mobileEmulation) #print sys.path[1]