Brandon Stirnaman

FluentAutomation Creator
Simple, fluent automated testing for web applications.

F14N Founder
Fast, easy automation test creation, execution and management.

FluentAutomation REPL Goodness

After Vagif Abilov (@ooobject) put together a short tutorial on using FluentAutomation with the scriptcs REPL, I decided to finally follow through with my early ideas of a downloadable automation REPL.

It can be a very very powerful thing, to have a concise automation language and instant control of the browser. Test out selectors, try out new ideas and settings in different browsers.

To get started, first we need to install Chocolatey (skip ahead if you already have it)

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin - See more at: http://chocolatey.org/#sthash.zfElHF9j.dpuf

And then install FluentAutomation REPL (then run it!):

cinst FluentAutomation.Repl  

Once installed, just open the browser with the I.Open() command and get moving.


FluentAutomation REPL - Firefox - google.com

or manipulate some of the settings:

FluentAutomation REPL - Settings

Type 'clear', 'help' or 'exit' for special REPL commands that aren't just straight C#. And as always, this is implemented with scriptcs' amazing Hosting support so anything that works there will work here as well. Happy hunting!