Code Using Selenium and WEbdriver threw these error codes:
e exitcode = _main(fd, parent_sentinel)prepare(preparation_data)_fixup_main_from_path(data['init_main_from_path'])main_content = runpy.run_path(main_path,return _run_module_code(code, init_globals, run_name,_run_code(code, mod_globals, init_globals,exec(code, run_globals)driver = uc.Chrome(headless=True,use_subprocess=False)self.browser_pid = start_detached(multiprocessing.Process(self._popen = self._Popen(self)return _default_context.get_context().Process._Popen(process_obj)return Popen(process_obj)prep_data = spawn.get_preparation_data(process_obj._name)_check_not_importing_main()raise RuntimeError('''
RuntimeError:An attempt has been made to start a new process before thecurrent process has finished its bootstrapping phase.
This probably means that you are not using fork to start your child processes and you have forgotten to use the proper idiom in the main module: if __name__ == '__main__': freeze_support() ... The "freeze_support()" line can be omitted if the program is not going to be frozen to produce an executable.