How to control the Browser Object

Hello, a general use question.
I’m working in a Linux environment, and generally all the record and play backs work as expected.

My problem is i can’t seem to control the actual browser, for steps such as back, forward, etc
I’ve used other products where I could create the browser object or pass it system commands to do most of what I needed to do

In particular, my AUT requires a cert to be selected. The box belongs to the browser object, not the page that it will go to once selected, and isn’t recognized by the tool

I’ve seen some attempts to use java.awt.Robot, is that the way to go? Could you point me to some documentation?

Thanks

If the information in the link below is good, then you can use the Robot to issue the commands. Note though that you cannot be playing around with the mouse or keyboard when you run your tests if you use the Robot in your script as that will take control away from it.

Sample that I use:

import java.awt.Robot
import java.awt.event.KeyEvent

        "open second tab"
		Robot robot = new Robot()
		robot.keyPress(KeyEvent.VK_CONTROL)
		robot.keyPress(KeyEvent.VK_T)
		robot.keyRelease(KeyEvent.VK_CONTROL)
		robot.keyRelease(KeyEvent.VK_T)
		WebUI.waitForPageLoad(10)

		WebUI.switchToWindowIndex(1)

		WebUI.navigateToUrl(GlobalVariable.SiteURL)
		WebUI.waitForPageLoad(10)
		...
		...
		WebUI.delay(1)

		"close this tab"
		robot.keyPress(KeyEvent.VK_CONTROL)
		robot.keyPress(KeyEvent.VK_W)
		robot.keyRelease(KeyEvent.VK_CONTROL)
		robot.keyRelease(KeyEvent.VK_W)