DalekSec Posted June 20, 2023 Posted June 20, 2023 Slowly losing my mind, Using Yodeck to create a signage screen for software we use called natterbox: https://wbapp.natterbox.com I have it so it enters the username and password but can't for the life of me get it to click the login button! I'm following their guidance here and used the click syntax: https://www.yodeck.com/docs/web-scripting-engine/scripting-engine-reference/ I think that the CSS selector is wrong but i've tried serveral and diffrent browsers to find it but no luck! Even tried a script that simply presses enter but no luck... Hopefully someone a bit more code savvy can work this one out quick....
Steve21 Posted June 20, 2023 Posted June 20, 2023 Your wish is my command: pause(1) type("""#username""", """myusername""") pause(1) type("""#password""", """mypassword""") pause(1) runScript(""" document.querySelector("#username").dispatchEvent(new Event("change")) document.querySelector("#password").dispatchEvent(new Event("change")) """) pause(1) clickAndWait("""body > div > div > div > div > div.panel-body.panel-padded > form > div.form-actions > button""") pause(1) Steve 2
DalekSec Posted June 21, 2023 Author Posted June 21, 2023 Your wish is my command: pause(1) type("""#username""", """myusername""") pause(1) type("""#password""", """mypassword""") pause(1) runScript(""" document.querySelector("#username").dispatchEvent(new Event("change")) document.querySelector("#password").dispatchEvent(new Event("change")) """) pause(1) clickAndWait("""body > div > div > div > div > div.panel-body.panel-padded > form > div.form-actions > button""") pause(1) Steve Legend thank you! 1
p0lt Posted May 13, 2025 Posted May 13, 2025 I am trying to do the same thing with this website. I also have it typing in the name and pass but can not get the correct code to click the sign in button. Any help would be great thx. https://web.foretees.com/v5/servlet/LoginPrompt?cn=flagstaffranch
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now