Script Monkey Online


Author
Message
lakeside
lakeside
Guru (7.3K reputation)Guru (7.3K reputation)Guru (7.3K reputation)Guru (7.3K reputation)Guru (7.3K reputation)Guru (7.3K reputation)Guru (7.3K reputation)Guru (7.3K reputation)Guru (7.3K reputation)
Group: Forum Members
Posts: 34, Visits: 121
Is there a way to run the script monkey for web scripts? I would like to generate test data for scripts hosted on Millisecond to help flesh out our data out procedures.

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Yes, there is. If you look at a launch page's source code, there is a variable that can be set to true to run the script in monkey-mode:

// Specify true or false for the script to run in monkey mode
var MonkeyMode = false;

You can set it to true directly in your browser by using the browser's developer tools features. For example, in Firefox, open the launch page and press F12 to open the developer tools. Go to the console tab, type

var MonkeyMode = true;

and press enter.

Click the start button on the launch page, and the script will be completed by the monkey.

https://www.millisecond.com/forums/uploads/images/a578f6ac-ea0e-4e8b-9271-5ba8.jpg
                
			            				
			            
Heidi Umbach Hansen
Heidi Umbach Hansen
Partner Member (508 reputation)Partner Member (508 reputation)Partner Member (508 reputation)Partner Member (508 reputation)Partner Member (508 reputation)Partner Member (508 reputation)Partner Member (508 reputation)Partner Member (508 reputation)Partner Member (508 reputation)
Group: Forum Members
Posts: 34, Visits: 195
Dave - 3/10/2016
Yes, there is. If you look at a launch page's source code, there is a variable that can be set to true to run the script in monkey-mode:

// Specify true or false for the script to run in monkey mode
var MonkeyMode = false;

You can set it to true directly in your browser by using the browser's developer tools features. For example, in Firefox, open the launch page and press F12 to open the developer tools. Go to the console tab, type

var MonkeyMode = true;

and press enter.

Click the start button on the launch page, and the script will be completed by the monkey.

https://www.millisecond.com/forums/uploads/images/a578f6ac-ea0e-4e8b-9271-5ba8.jpg

Heya!

Is there a way to run monkey mode multiple times in the browser?

- Heidi
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Heidi Umbach Hansen - 11/4/2021
Dave - 3/10/2016
Yes, there is. If you look at a launch page's source code, there is a variable that can be set to true to run the script in monkey-mode:

// Specify true or false for the script to run in monkey mode
var MonkeyMode = false;

You can set it to true directly in your browser by using the browser's developer tools features. For example, in Firefox, open the launch page and press F12 to open the developer tools. Go to the console tab, type

var MonkeyMode = true;

and press enter.

Click the start button on the launch page, and the script will be completed by the monkey.

https://www.millisecond.com/forums/uploads/images/a578f6ac-ea0e-4e8b-9271-5ba8.jpg

Heya!

Is there a way to run monkey mode multiple times in the browser?

- Heidi

These days, you can launch a script in monkey mode by appending MonkeyMode=true as URL parameter to the launch URL.

No built-in way to repeat that X times, but you can certainly automate launching repeatedly using your preferred scripting or programming language if you want to.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search