Script help for filling in Chrome credentials dialog
Script help for filling in Chrome credentials dialog
- Subject: Script help for filling in Chrome credentials dialog
- From: "Ball, Dan" <email@hidden>
- Date: Fri, 17 Feb 2017 20:21:59 +0000
- Thread-topic: Script help for filling in Chrome credentials dialog
Can someone help with this? Trying to launch a webpage in kiosk mode using Chrome that needs authentication and trying to script it, but it won’t fill in the credentials when the dialog pops up in Chrome.
delay 4
tell application "Finder"
activate
do shell script "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --kiosk https://somewebpage.com<https://somewebpage.com/>"
end tell
tell application "Google Chrome" (Also tried here System Events, Google Chrome Helper or System Events to tell process “Google Chrome”)
activate
delay 0.3
keystroke "username"
keystroke tab
keystroke "password"
keystroke return
end tell
Thanks,
Dan
This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, notify the sender immediately by return email and delete the message and any attachments from your system.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden