Selenium headless authentication with ESTSCookie gets stuck
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.7k
- Forks
- 395
- PR merge metrics
- No merged PRs in 30d
Description
When attempting an ESTSCookie conversion using interactiveauth, I get the following prompt, on which I have to click "Continue", or press ENTER. This isn't properly handled automatically by selenium_login, which results in the headless mode to hang forever and fail. It appears that check performed on https://github.com/dirkjanm/ROADtools/blob/081fcdc9d7798b0c734ac216ede18a1c559b4b8a/roadtx/roadtools/roadtx/selenium.py#L304 does never complete, resulting in https://github.com/dirkjanm/ROADtools/blob/081fcdc9d7798b0c734ac216ede18a1c559b4b8a/roadtx/roadtools/roadtx/selenium.py#L312 supposed to perform such a click on CONTINUE to never be reached.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in roadtx/roadtools/roadtools/selenium.py at the checks around lines 304 and 312. Reproduce an ESTSCookie conversion with interactiveauth in headless mode and inspect why the check never completes before the Continue click. Done means the prompt is handled automatically and selenium_login no longer hangs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- authentication, cli, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100