Automating the Script using Foxtrot

Here we are going to automate the script using foxtrot.

Step 1: Open Foxtrot App and make sure to select the Level as Expert in Account setting:

Step 2: Create a New Botflow and click on the Advanced tab in Actions Panel and select Python.

Step 3: A new window should appear where you can select the method as Code and copy-paste the previous script in the Code Box provided.

Or, you can select the method the python file containing the script:

Step 4: To show the output of the above script in Foxtrot, we need to create a variable. Click on the checkbox beside Save to and select the magic button on the right side.

Creating Variable

Step 5: A new window should appear called Expression, Select Variables in the Items and click on “+” button top right of the window.

Step 6: Provide a Name and select Type as Text and click OK.

Click OK again and then type the name of the variable in Save To Box. The below Image represents the final state after following the above-mentioned steps.

Click on OK to Run the BOT:

Step 7: To view the Output, Select Variables in the BotFlow and click on the pencil button of the previously selected variable.

The output is the same as we saw before while running the script on Terminal:


This is how we can automate Google Chrome by using Selenium, Python and Foxtrot.



How To Automate Google Chrome Using Foxtrot and Python

In this article, we are going to see how to automate google chrome using Foxtrot & Python.

Similar Reads

What is Foxtrot RPA?

Robotic process automation (RPA) cuts down employees’ workloads by automating repetitive, high-volume steps in processes. Software robots, such as Foxtrot RPA emulate the actions of human workers to execute tasks within applications via their UI....

Prerequisites :

Install the latest version of Foxtrot RPA.Install python selenium package by running the following command in terminal.Install the latest Google Chrome and its Chrome webdriver....

Extracting information using webdriver:

First, we need to initiate the webdriver using selenium and send a get request to the url, and then identify the HTML document and find the input tags and button tags which accept username/email, password, and sign in button....

Automating the Script using Foxtrot

Here we are going to automate the script using foxtrot....