webDOMinator - Minion Scripting Language Reference

Search a Command:
<< Back to Browser Level Commands

silentmode

Usage...
silentmode:setting
Turns the browser to silent if setting is set to true, 1, on or yes (respectively, false, 0, off or no will un-silence the browser). The silent setting allows the browser to ignore system popups like certification error windows, script error windows, even authentication windows. webDOM is set by default to silendmode:on.
This applies to webDOM version 2.5.0 and above.

User Comments on silentmode

Log In issues with silentmode

Written by: webDOMinator 1 year and 6 months ago

The default browser setting in webDOM keeps silentmode ON so that javascript errors on sites do not halt automation processes. This default setting is great, but sometimes it has a cost.

Because internet explorer does not differentiate between a javascript error popup and a Security Certificate Error popup nor "Redirecting to an Unsecure Page" popups, it causes a problem by ignoring all the types of popups rather than being able to control which type of popup is allowed and which is not.

The most common silentmode popup problems are of the third
type

Quick Reference for "type"
Click on command to see examples & comments
DOM Level Commands
Usage: type:string
Description: Uses the actual keyboard input to type the text specified by string. Notice, this will make it so that webDOM has to be maximized when in use. It is advised not to use this command unless you are not using your computer at the same time webDOM is running.: Redirecting to an unsecure page. This issue usually arises during automatic log in where a website uses a secure log in page, but then forwards to unsecure pages where there is no important information. The error happens when the browser needs user confirmation that the user wants to continue to an unsecure page. Since the user cannot access the window to click "Yes", the browser does not do anything. This usually manifests itself in a scenario such as: You click the login button manually on the login page and it does nothing. That scenario is a tell-tale sign that there's an SSL to non-SSL redirecting going on.

The easiest way to continue automation without being stopped by a certificate popup or redirect confirmation popup, is using silentmode and killalert commands to temporarily turn popups on, login, click Yes on the popup and then turn silentmode back on as to avoid any Javascript Error popups.
An example of this in minion code would be:
Code

silentmode:off
login
silentmode:on

The login script would have to contain the killalert command for the specific type of popup that happens in your case. For instance, if a certificate error happened and you needed to click "Yes" in the popup window after the login button click, you could have the following login script:
Code

killalert:Security Certificate:Yes
click:dom.input.Log in

Of course, this script would be placed in the login tab of the script editor and woul

Post a Comment About the "silentmode" Command
Title:
Comment:
Post as Anonymous:
User Login
Username:
Email:
Password:
webDOMinator is copyright ©2008, 2009, 2010 Nathaniel D. Gibson. All Rights Reserved.
Contact | Tutorials | Forum
By using webDOMinator you are taking all liability in to your own hands. Nathaniel D. Gibson is not responsible for any damages, loss, or defamation (legal or otherwise) caused to you or your business from using this program. Nathaniel D. Gibson is not associated with, affiliated with, nor responsible for the content submitted and displayed by users of this site.