A quick question about ONSECURITYDIALOG

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
phanhuyen345
Posts: 1
Joined: Thu May 17, 2018 7:28 am

A quick question about ONSECURITYDIALOG

Post by phanhuyen345 » Thu May 17, 2018 8:20 am

Hello,

I am writing a script to accept a certificate everytime when I start Firefox.

I am trying this:

VERSION BUILD=6020205 RECORDER=FX
TAB T=1
URL GOTO=https://10.178.32.100/
ONSECURITYDIALOG BUTTON=OK CONTINUE=OK
ONCERTIFICATEDIALOG C=1
TAG POS=1 TYPE=INPUT:SUBMIT

But the script stops working after the certificate shows up.

Has anybody a working example ?

Regards,
Hello,

I am writing a script to accept a certificate everytime when I start Firefox.

I am trying this:

VERSION BUILD=6020205 RECORDER=FX
TAB T=1
URL GOTO=https://10.178.32.100/
ONSECURITYDIALOG BUTTON=OK CONTINUE=OK
ONCERTIFICATEDIALOG C=1
TAG POS=1 TYPE=INPUT:SUBMIT

But the script stops working after the certificate shows up.

Has anybody a working example ?

Regards,
phanhuyen
Tom, Tech Support
Posts: 3490
Joined: Mon May 31, 2010 4:59 pm

Re: A quick question about ONSECURITYDIALOG

Post by Tom, Tech Support » Thu May 17, 2018 10:15 am

Hi phanhuyen345,

The ONCERTIFICATEDIALOG and ONSECURITYDIALOG commands are not supported in iMacros for Firefox or Chrome, they are only available in the iMacros browser and iMacros for IE. You can see which browsers are supported for each command by viewing the browser icons in the Syntax section of the command's reference page as well as get a quick overview of browser support for all commands/variables on the Commands Reference index page in the iMacros wiki.
Regards,

Tom, iMacros Support
Post Reply