rshf / chromedriver

Automatically exported from code.google.com/p/chromedriver
2 stars 1 forks source link

Error message: Allowing web_page contexts requires supplying a value for matches #637

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I downloaded chromedriver_win32.zip version 2.6 and placed it in 
C:\chromedriver.

My environment is Windows 7 64-bit, Python 3.3.0, Chrome 31.0.1650.57 m.

I wrote this three-line Python script to invoke chromedriver:

from selenium import webdriver
driver = webdriver.Chrome(executable_path="C:\\chromedriver\\chromedriver.exe", 
service_args=["--verbose", "--log-path=C:\\temp\\chromedriver.log"])
driver.quit()

When the script executes, this error is output:

[9152:9580:1121/091048:ERROR:base_feature_provider.cc(122)] manifestTypes: 
Allowing web_page contexts requires supplying a value for matches.

The chromedriver.log file remains empty.

Original issue reported on code.google.com by ssapo...@jouleassets.com on 21 Nov 2013 at 2:12

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:18

GoogleCodeExporter commented 9 years ago
This issue is not reproducible with latest version of 

ChromeDriver:- 2.14
Chrome:- 41.0.2272.101
Selenium:- 2.45

I have tested and it works good and store the log file properly 

from selenium import webdriver
driver = webdriver.Chrome(executable_path="D:\\path\\to\\chromedriver.exe", 
service_args=["--verbose", "--log-path=D:\\path\\to\\logtest.log"])

driver.get("http://google.com")
driver.find_element_by_name("q").send_keys("Testing")
driver.find_element_by_id("gsr").click()
driver.quit()

Please let us know if issue still persist.

Original comment by agau...@chromium.org on 1 Apr 2015 at 11:10