Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 <j.robl@osram.com>

* 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 <j.robl@osram.com>

* 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 <47418007+JuliusJacobitz@users.noreply.github.com>

Co-authored-by: Genmutant <github@jurirobl.de>
Co-authored-by: Juri <j.robl@osram.com>
Co-authored-by: Linus Schaub <linusschaub@googlemail.com>
Co-authored-by: Christian Jülg <c.juelg+github@gmail.com>
Co-authored-by: Julius Jacobitz <47418007+JuliusJacobitz@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant