I am just starting to learn selenium but when I run the program it opens the chrome window for few seconds and then closes giving the error:
DevTools listening on ws://127.0.0.1:52176/devtools/browser/b5500769-96fb-4f99-85df-b05a11157eea
[11368:11308:0324/102029.198:ERROR:page_load_metrics_update_dispatcher.cc(194)] Invalid first_paint 5.369 s for first_meaningful_paint 5.287 s
[11368:11308:0324/102029.486:ERROR:page_load_metrics_update_dispatcher.cc(194)] Invalid first_paint 5.369 s for first_meaningful_paint 5.287 s
[11368:11308:0324/102029.757:ERROR:page_load_metrics_update_dispatcher.cc(194)] Invalid first_paint 5.369 s for first_meaningful_paint 5.287 s
[11368:11308:0324/102030.045:ERROR:page_load_metrics_update_dispatcher.cc(194)] Invalid first_paint 5.369 s for first_meaningful_paint 5.287 s
As I am new to selenium I dont have any idea why this error is showing up.