Failed to create shader cache entry- error while locating an element by its Css selector

前端 未结 3 1981
我寻月下人不归
我寻月下人不归 2020-12-20 06:01

I am writing a simple script in Python using Selenium to detect an element by its Css selector. I am accessing the Google page, and am targeting the input, by its CSS select

3条回答
  •  佛祖请我去吃肉
    2020-12-20 06:23

    Your code is near perfect. You need to make a small change as follows:

    Edit the CSS_SELECTOR from:

    fLocator = "input[name=q]"
    

    To:

    fLocator = "input[name='q']"
    

    Update:

    Looking at the error, resurfacing of the error and some research over these few links and discussions I feel the shader_disk_cache.cc or shader_disk_cache.h somehow got corrupted. I think a clean uninstall of Google Chrome (using Revo Uninstaller) and complete disk cleanup (using CCleaner) & finally installation of the latest Google Chrome may get us beyond the error.

提交回复
热议问题