dirkjanm / dirkjanm/ROADtools

Selenium headless authentication with ESTSCookie gets stuck

Open
#154 0 comments 1 reaction 0 assignees View on GitHub

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.

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.