Goal: I am going to change my phone but before that I wanted to remove all my Gmail data from my phone , Sign out of the Gmail app 
Steps:
action: action_type: open_app
app_name: Gmail
step_instruction: Open the Gmail app
action: action_type: click
step_instruction: Click on the C Profile icon at the top right side of the screen
action: action_type: click
step_instruction: Click on the Manage accounts on this device option
action: action_type: click
step_instruction: Select the Cole2dbwpersonatest2@gmail.com account
action: action_type: click
step_instruction: Click on the Remove account button
action: action_type: click
step_instruction: Click on the Remove account button in the pop up