Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

feat(local-chromium): replacing chromedriver binaries with google chrome or custom chromium installation #509

Merged
merged 3 commits into from
Jun 22, 2021

Conversation

timreibe
Copy link
Owner

@timreibe timreibe commented Jun 21, 2021

Mit dem neuen Modul undetected_chromedriver ist es nicht mehr notwendig, die Chromedriver-Binaries lokal zu speichern. Es gibt drei Möglichkeiten für Chromium & die Chromedriver:

  1. Google Chrome installieren (undetected_chromedriver findet Chromium und den Chromedriver von selbst)
  2. Installation mit ./tools/chromium_downloader.py oder Option 3 im Vaccipy-Menü
  3. Pfad über Umgebungsvariablen festlegen: VACCIPY_CHROME_BIN (Chromium) und VACCIPY_CHROMEDRIVER (Chromedriver)

image

Todos:

  • Testen der CLI (Mac Intel unter Ausführung von python3 main.py)
  • Testen der GUI Versionen
  • Entfernen von Chromedriver-Dateien und Anpassung des Build-Prozesses

@timreibe timreibe mentioned this pull request Jun 21, 2021
@timreibe timreibe merged commit 8df62f8 into beta Jun 22, 2021
@timreibe timreibe deleted the local-chromium branch June 26, 2021 09:22
timreibe added a commit that referenced this pull request Jun 30, 2021
* - Fix creation of random code (#499)

Co-authored-by: Juri <[email protected]>

* feat(uc): Use undetected chromedriver (#497)

* Varied sleep time for each call, to make it less predictable and more user-like

* Use a random, real useragent

* Use a random, real useragent from fake-useragent

* Wait some time between clicks

* Force some minimum sleeptime for random_sleeps

* - Use random_sleep more often
- Replace 'VACC-IPYx-xxxx' with complete random code

* # Refactored mouse movements
# Use computed movements more often
# Wiggle a bit after reaching the correct values

* # Removed fake-useragent because it was unreliant

* # First test for replacing normal chromedriver with undetected-chromedriver

* # First test for replacing normal chromedriver with undetected-chromedriver

* # Remove selenium-wire requests from selenium_code_anfordern, by @jonas

* - Removed mouse movements by @jonasmock
- Fixed annotations

* - Close driver after successfull code request

Co-authored-by: Juri <[email protected]>

* added chromedriver again (#502)

* fix(readme): Termineingrenzung Feature in Readme eingefügt. (#508)

* feat(local-chromium): replacing chromedriver binaries with google chrome or custom chromium installation (#509)

* disabled local chromedriver, replaced with google chrome or custom chromium installation

* option 3: set environment variables

* returning webdriver exectuable as a string

* fix(args): add missing configure_notifications argument (#514)

* Update README.md

* add missing configure_notifications argument

This led to errors when running `python3 main.py code --configure-only -f max-mustermann.json`.

Co-authored-by: Julius Jacobitz <[email protected]>

Co-authored-by: Genmutant <[email protected]>
Co-authored-by: Juri <[email protected]>
Co-authored-by: Linus Schaub <[email protected]>
Co-authored-by: Christian Jülg <[email protected]>
Co-authored-by: Julius Jacobitz <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant