However, if you consider resolving this issue, a better approach would be to get the GitLab runner token using bash inside the Docker container. I do not know where inside that Docker this token is stored, nor how to access it. However, if we can get it directly from inside the docker, instead of "downloading a browser controller, starting a browser, going to the gitlab server local website, logging in as root, clicking on get gitlab runner token, clicking on show token, and then scraping the token out the website page source".
So perhaps consider ignoring the error in that other repository and get the runner using Bash instead of Python.
After running:
The following error is thrown:
This error occurs in the https://github.com/a-t-0/get-gitlab-runner-registration-token repository. So that is where it can be fixed.
However, if you consider resolving this issue, a better approach would be to get the GitLab runner token using bash inside the Docker container. I do not know where inside that Docker this token is stored, nor how to access it. However, if we can get it directly from inside the docker, instead of "downloading a browser controller, starting a browser, going to the gitlab server local website, logging in as root, clicking on get gitlab runner token, clicking on show token, and then scraping the token out the website page source".
So perhaps consider ignoring the error in that other repository and get the runner using Bash instead of Python.