0

I have recently decided to move my web automation scripts from Google Colab where they worked fine, to my own PC. After getting the correct webdriver(for chrome, version 89), I tried launching a python script and after a few minutes, the PC crashed and gave a DPC WATCHDOG VIOLATION stop code. If I don't launch my script, it works all fine. I have googled the question but couldn't find a good solution or reason why this happens. My script is below:

from selenium import webdriver
wd = webdriver.Chrome()
wd.get("https://www.labirint.ru")
search_bar = wd.find_element_by_id("search-field")
search_bar.send_keys("978-5-907180-08-6")
search_bar.submit()
results = wd.find_elements_by_class_name("card-column_gutter")
print(results[0].text)

I have downloaded my chromedriver.exe from here: https://chromedriver.chromium.org/downloads

0 Answers0