Good code with Firefox
from selenium import webdriver
browser = webdriver.Firefox()
browser.get('http://seleniumhq.org/')
However, when I change it to Chrome (Chromium), I'm getting the following error
Error Loading Extension
Failed to load extension from: .
Manifest file is missing or unreadable
The Chromium web browser opens a blank page instead of "http://seleniumhq.org/"
This is the code for Chromium. What should I do to fix this problem?
from selenium import webdriver
browser = webdriver.Chrome()
browser.get('http://seleniumhq.org/')
Good code with Firefox
from selenium import webdriver
browser = webdriver.Firefox()
browser.get('http://seleniumhq.org/')
However, when I change it to Chrome (Chromium), I'm getting the following error
Error Loading Extension
Failed to load extension from: .
Manifest file is missing or unreadable
The Chromium web browser opens a blank page instead of "http://seleniumhq.org/"
This is the code for Chromium. What should I do to fix this problem?
from selenium import webdriver
browser = webdriver.Chrome()
browser.get('http://seleniumhq.org/')
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.