退出 GPU 进程,因为某些驱动程序无法恢复

Exiting GPU process be cause some drivers can't recover

我在 Opera 中使用 selenium 时出错。我正在填写表格时突然填写它崩溃显示这样的错误

[4156:4716:0427/100837.120:ERROR:page_load_metrics_update_dispatcher.cc(165)] Invalid first_paint 9.316 s for first_image_paint 9.298 s       
[4156:4716:0427/100838.277:ERROR:page_load_metrics_update_dispatcher.cc(165)] Invalid first_paint 9.316 s for first_image_paint 9.298 s       
[0427/100838.647:ERROR:gl_surface_egl.cc(692)] EGL Driver message (Critical) eglPostSubBufferNV: Context lost.                                
[0427/100838.649:ERROR:gles2_cmd_decoder_passthrough.cc(2874)] Context 
lost because PostSubBuffer failed.                                     
[0427/100838.650:ERROR:gpu_service_impl.cc(986)] Exiting GPU process be
cause some drivers can't recover from errors. GPU process will restart 
shortly.    

我的代码在下面,

    driver = webdriver.Opera(desired_capabilities=webdriver.DesiredCapabilities.OPERA, executable_path='operadriver.exe')
    driver.get(keys['doc_url'])
    driver.find_element_by_xpath('//*[@id="mG61Hd"]/div/div/div[2]/div[1]/div[2]/div/div[1]/div/div[1]/input').send_keys(k['email'])
    driver.find_element_by_xpath('//*[@id="mG61Hd"]/div/div/div[2]/div[2]/div/div[2]/div/div[1]/div/div[1]/input').send_keys(k['first_name'])
    driver.find_element_by_xpath('//*[@id="mG61Hd"]/div/div/div[2]/div[4]/div/div[2]/div/div[1]/div/div[1]/input').send_keys(k['last_name'])

我使用的 CPU 只有 Intel i3 2gb 内存规格。 求助!!!

尝试将 --disable-gpu 添加到功能