Socket
Socket
Sign inDemoInstall

robotremote

Package Overview
Dependencies
7
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.9.5 to 0.9.6

1

bin/botclient.js

@@ -0,1 +1,2 @@

#!/usr/bin/env node
'use strict';

@@ -2,0 +3,0 @@

4

package.json

@@ -17,3 +17,3 @@ {

],
"version": "0.9.5",
"version": "0.9.6",
"preferGlobal": false,

@@ -41,6 +41,6 @@ "homepage": "https://github.com/comick/node-robotremoteserver",

"xmlrpc": ">=1.0.2",
"promise": ">=6.0.1",
"is-promise": ">=1.0.0"
},
"devDependencies": {
"promise": ">=6.0.1",
"mocha": ">=1.21.5"

@@ -47,0 +47,0 @@ },

@@ -19,2 +19,4 @@ # robotremote

Just little example with main features. Test folder contains better extensive examples for more features.
examplelibrary.js:

@@ -114,2 +116,30 @@

## Using botclient.js:
The botclient.js command line utility can be useful to test keywords of any compliant running robot remote server.
An example session with the example keywords library follows:
```js
$ node ./bin/botclient.js localhost 8270
Connected to remote server at "localhost:8270"
Available keywords: stopRemoteServer, countItemsInDirectory, stringsShouldBeEqual
localhost:8270> keywords.countItemsInDirectory
{ [Function]
args: [ 'path' ],
docs: 'Returns the number of items in the directory specified by `path`.' }
localhost:8270> keywords.stringsShouldBeEqual
{ [Function]
args: [ 'str1', 'str2' ],
docs: '' }
localhost:8270> keywords.stringsShouldBeEqual('ciao', 'ciao').done(console.log)
undefined
localhost:8270> { output: '*WARN* Comparing \'ciao\' to \'ciao\'\n',
status: 'PASS',
return: '' }
```
Keywords are available in context in the keywords dictionary. When called they return an A+ promise.
## License

@@ -116,0 +146,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc