Skip to content
Snippets Groups Projects
Commit 60564807 authored by tuhe's avatar tuhe
Browse files

CICD

parent d3a90993
Branches
No related tags found
No related merge requests found
Pipeline #8676 failed
......@@ -4,7 +4,7 @@ before_script:
- apt-get update -y
- apt install -y python3-pip python3.10 python-is-python3
- apt install -y xvfb libssl-dev firefox openssl
- openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes
- openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes -batch
- pip install -r requirements.txt
# - 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )'
......
......@@ -2,3 +2,4 @@ diskcache
selenium
auth-code-flow
beautifulsoup4
webdriver-manager
\ No newline at end of file
......@@ -86,8 +86,8 @@ class LearnConfig:
state = "my_state"
se_auth_url = se_flow_manager.get_authorization_endpoint(state)
print(se_auth_url)
driver = webdriver.Firefox()
from webdriver_manager.firefox import GeckoDriverManager
driver = webdriver.Firefox(executable_path=GeckoDriverManager().install())
# with requests.session() as s:
# OAuth_AccessRequest = s.get(se_auth_url)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment