After updating Chrome and Chromedriver from 102 to 126, the PowerShell script that had been working without any issues stopped functioning correctly. Could you please tell me the cause and solution for this problem?
The script aggregates data from the web, and in 126, some pages do not load correctly, causing the script to stop as it cannot retrieve the data. After navigating to the page that does not load correctly and reloading it, the page loads properly, and the script resumes its operation.
When manually navigating to the specified page in the script, the same error does not occur. The page navigation and data loading are executed with the following commands:
The error also occurred in 124 and 127.