DevTools escuchando en ws: //127.0.0.1: 57671 / devtools / browser / 8a586f7c-5f2c-4d10-8174-7a7bf50e49b5 con Selenium y Python
Estoy usando python + selenium para la automatización del navegador web y obtengo este error.
DevTools listening on ws://127.0.0.1:57671/devtools/browser/8a586f7c-5f2c-4d10-8174-7a7bf50e49b5
[5096:1196:0909/183254.362:ERROR:mf_helpers.cc(14)] Error in dxva_video_decode_accelerator_win.cc on line 517
El problema surge cuando el programa alcanza esta parte del código: -
def send_comments(driver):
add_comments = driver.find_elements_by_class_name('add')
comments = driver.find_elements_by_xpath("//form[@class='addCommentexpand']//textarea[contains(@placeholder,'Add a comment')]")
submit_comments = driver.find_elements_by_xpath("//button[text()='Comment']")
i = 0
for add, comment, submit in zip(add_comments, comments, submit_comments):
print("comment begins")
add.click()
print("+add comment clicked")
comment.click()
print("comment textbox clicked")
comment.send_comments("Amazing Art")
print("text typed")
submit.click()
print("comment submited")
i += 1
if i > 5:
driver.close()
send_comments(driver)
Tampoco inicia sesión en la consola. ¿Alguien puede decir cuál es el problema?