Skip to content

Conversation

@Wob76
Copy link

@Wob76 Wob76 commented Nov 29, 2025

Hi,

I was having issues with Prime Gaming in the dev branch, it was not detecting the login process, I could see it getting to the OTP screen in VNC, but the would error out with a failure, this may be due to region (I am in AU).

I have not worked with this stuff before so I've used AI to help with edits as I've done the troubleshooting, watching VNC and gathering page data from what was loading, the intial error seemed to be a timing issue and the AI suggested error handeling seems to cope with this now.

I could see some elements seem different for me, I did not have a "user-dropdown-first-name-text" at all as such after a couple of attempted fixes it was working to log in, but still not getting the username so I have added a click on the drop down and a wait, this is now working for me. This may need some testing in other regions to see if '[data-a-target="FirstName"] is valid for others, maybe extend the check for both? but even if username is not returned the extra error handling continues rather than erroring out for me.

I was also having issues with runs after the inital one, it would not launch VNC, seems there was another lock file in the image, I expanded that to "rm -f /tmp/.X1-lock /tmp/.X11-unix/X1 ~/.vnc/*:1.pid" which resolved the issue for me.

Thanks,
Wob

Wob76 added 14 commits November 29, 2025 10:50
Fix locator for error message in login process
Refactor login error handling to check for alert presence before accessing error text.
Updated user name retrieval with error handling and improved locator.
Updated VNC lock file removal and logging options.
Removed debug echo statements for VNC password handling and adjusted VNC server launch command to suppress output.
username was still not being found, trying something else
Further tweak to attemp to read username before adding something to click the drop down
Added code to open dropdown and retrieve username.
@vogler vogler changed the title Dev pg: fix login Nov 29, 2025
@vogler
Copy link
Owner

vogler commented Nov 29, 2025

Thanks! Haven't tested the login code for a while. I'll check, maybe the code works for all regions (DE here).

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.

2 participants