- Technical documentation
- API docs
Service getRequiredService(DOMString service_name)
Get a required service. The connection to the service has been established over an unencrypted channel.
|service_name||Name of a service.|
This method returns on success an instance of the Service class. The return value is null If the service_name is not defined in the connected services.
Notice! It is not a good practice to connect to the open services of other applications with the connect method. List the required services in the manifest and let the automation provided by the start method make the connections.