EsportsHelper icon indicating copy to clipboard operation
EsportsHelper copied to clipboard

Tip to use (headless problem, package version)

Open DoTheBestMayB opened this issue 1 year ago • 2 comments

  1. Don't use one which at release. There are issues related to package version compatibility. For example: There's a Chrome path parsing problem with undetected-chromedriver.
  2. After running 'pip install requirements', update the packages to their latest versions.
  3. Add the following code at line 108 of Webdriver.py(at EsportsHelper folder). There's a headless bug in recent Chrome versions that causes the browser to display a white screen.

https://github.com/ultrafunkamsterdam/undetected-chromedriver/issues/2022#issuecomment-2358946196

options.add_argument("--window-position=-2400,-2400")

image

DoTheBestMayB avatar Sep 25 '24 15:09 DoTheBestMayB

I tried this, but it keeps saying my credentials for my account don't work, but it works when I turn off headless

Seems there was already an issue raised - https://github.com/Yudaotor/EsportsHelper/issues/136#issue-2407439436

FriedGenera avatar Sep 27 '24 07:09 FriedGenera

确实,我也发现这个问题了

DRCX avatar Oct 03 '24 01:10 DRCX