-
Notifications
You must be signed in to change notification settings - Fork 24
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
Does not work anymore ? #36
Comments
Hi, thanks for reporting, I hope I will be able to check this out this week. There might be that they changed parts of their website. Will get back with an update soon. |
- Bump chromedp to 0.7.4 (dependency update)
@0x111 Thanks Richard for the quick PR ! unfortunately, it does not seem to resolve the problem in my case, see: docker run -e USERNAME="$SERVICENOW_DEVELOPER_USERNAME" -e PASSWORD="$SERVICENOW_DEVELOPER_PASSWORD" servicenowinstancewakeup
Starting the app with debug=false/headless=true/[email protected]
Successfully set the viewport...
Navigating to the webpage: https://developer.servicenow.com/userlogin.do?relayState=https%3A%2F%2Fdeveloper.servicenow.com%2Fdev.do%23!%2Fhome%3Fwu%3Dtrue
Successfully navigated to the webpage...
Searching for the .logo element...
Found .logo element
Filling out the username field...
Filled username field with [email protected]
Clicking the next button...
Clicked Next button
Searching for the password field...
Found password field
Filling out the password field...
Filled password field with your password ******
Clicking the submit button...
Clicked Submit button
Login successful!
Detecting the wakeup button element to determine if we are on the developer portal homepage...
could not find shadow element (header status bar): context deadline exceeded So it is using the new URL After executing it, I wait 5 to 10 minutes and execute
But it is still hibernating.. <title>
Instance Hibernating page
</title> Did it work on your side ? |
I tried the binary version without headless mode, I will test the docker and/or headless too today. For me in the binary form headless=false it did work though. I will get back to you, once my instance goes to sleep again so I am able to test it. |
Ok I will try with |
I tried just now with I will try the combo with the docker container. |
@0x111 My bad, there was a typo in my password..I did not check it earlier because of the I can confirm that your fix is working ! Thanks a lot ! |
Great! I agree, the detection could be definitely better, but I did not wanted to spend too much time on this part, since the purpose is to cut time for repetitive tasks. Since there are no more blockers for merge, I will take this up hopefully today. Thanks for the feedback and I am glad the issue is fixed now. Edit: About the docker stuff, I will have to move to github at some point, these new changes to the Free plan are making it not so useful anymore for simple stuff like this. But in any case, this one will go there still but for future releases there might be a change in this. |
- Fix SSO login url (fixes #36) - Bump chromedp to 0.7.4 (dependency update)
@vdesabou Docker image built and published. Please open a new issue in case of problems. Thanks for the help until now :) |
Thanks for that tool !
It seems that since around mid September, it is no more working, I get:
I understand that
could not find shadow element (header status bar): context deadline exceeded
is expected now and it was working even with that error before.But my instance is not woken up (even after waiting for a while)
Any idea what might have changed ?
The text was updated successfully, but these errors were encountered: