お世話になっております
表題の通りですが
chromeは 起動するものの 画面遷移しません
ご教示のほど よろしく お願い致します
Python
1import os,sys 2from selenium import webdriver 3 4 5 6options = webdriver.ChromeOptions() 7 8options.add_argument('--disable-infobars') 9options.binary_location = 'C:/Users/Owner/Documents/GoogleChromePortable/GoogleChromePortable.exe' 10 11 12driver = webdriver.Chrome(executable_path='C:/Users/Owner/Documents/GoogleChromePortable/chromedriver.exe' ,options=options) 13 14driver.get('https://www.google.co.jp') 15 16 17sys.stdout.buffer.write((driver.title).encode('utf-8')) 18 19driver.close() 20driver.quit() 21 22sys.exit(0)
Chromeは GoogleChromePortable_76.0.3809.87_online.paf.exe
chromedriverは ChromeDriver 76.0.3809.68
を 使用しております
回答1件
あなたの回答
tips
プレビュー