Android Dr.com

from selenium import webdriver
from selenium.webdriver.chrome.options import Options
UserAgent='Mozilla/5.0(Android;Linuxarmv7l;rv:5.0)Gecko/Firefox/5.0fennec/5.0'
chrome_options = Options()
chrome_options.add_argument("--user-agent="+UserAgent)
driver=webdriver.Chrome(executable_path ='chromedriver.exe',chrome_options=chrome_options)
driver.get("http://192.168.240.3")

 

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注