---
title: "WebCommand"
description: "API documentation for WebCommand"
url: https://developer.disguise.one/python-api/docs/webcommand/
---

# WebCommand

The base class for commands to be sent to a WebBrowser.

To send a WebCommand first inherit from WebCommand, or use one of the existing derived classes.  
It is possible to add web commands to a WebBrowser through its interface.  
Web commands are designed to be sent at some time in the future to keep browsers in sync.

Base class (inherits properties and methods): _[Resource](/python-api/docs/resource#resource)_

Subclasses: _[WebCommandJavascript](/python-api/docs/webcommandjavascript#webcommandjavascript)_, _[WebCommandKeyboard](/python-api/docs/webcommandkeyboard#webcommandkeyboard)_, _[WebCommandMouse](/python-api/docs/webcommandmouse#webcommandmouse)_, _[WebCommandNavigate](/python-api/docs/webcommandnavigate#webcommandnavigate)_

## Properties

#### **commitTime** : _float_

The time at which this command should be executed. This is in network time (os.timer.frameTime()) so that browsers are kept in sync.

## Constructors

#### **\_\_init\_\_**(self)
