You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 12, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+7-9Lines changed: 7 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
TestCafe RPC
2
2
======
3
-
RPC library for the [TestCafé](http://testcafe.devexpress.com/). It allows you to create a single TestCafé instance and then interact with it programmatically from any machine in your network.
3
+
RPC library for the [TestCafé](http://testcafe.devexpress.com/). It allows you to create a single TestCafé instance and then interact with it programmatically from any machine in your network.
4
4
5
5
6
6
Install
@@ -14,7 +14,7 @@ Running a server
14
14
```js
15
15
var TestCafeRemote =require('testcafe-rpc');
16
16
17
-
//Options for TestCafé instance
17
+
//Options for TestCafé instance
18
18
var opt = {
19
19
controlPanelPort:1337,
20
20
servicePort:1338,
@@ -29,10 +29,10 @@ var opt = {
29
29
},
30
30
rpcPort =1339;
31
31
32
-
//Create TestCafé server instance with given options which can be accessed via RPC on port 1339.
32
+
//Create TestCafé server instance with given options which can be accessed via RPC on port 1339.
33
33
var testCafeServer =newTestCafeRemote.Server(opt, rpcPort);
34
34
35
-
//Returned object exposes standard TestCafé API, so you can use it as a regular TestCafé instance.
35
+
//Returned object exposes standard TestCafé API, so you can use it as a regular TestCafé instance.
36
36
testCafeServer.runTests({ browsers:testCafeServer.listAvailableBrowsers() }, function (errors, taskUid, workers) {
37
37
//do smthg...
38
38
});
@@ -46,11 +46,11 @@ var TestCafeRemote = require('testcafe-rpc');
46
46
var rpcHostname ='myhostname',
47
47
rpcPort =1339;
48
48
49
-
//Connect to the existent TestCafé server (if you running both client and server on the same machine
49
+
//Connect to the existent TestCafé server (if you running both client and server on the same machine
50
50
//hostname-parameter can be ommited).
51
51
var testCafeClient =newTestCafeRemote.Client(rpcPort, rpcHostname);
52
52
53
-
//Client can be used as a regular TestCafé instance with exception that listAvailableBrowsers() and listConnectedWorkers()
53
+
//Client can be used as a regular TestCafé instance with exception that listAvailableBrowsers() and listConnectedWorkers()
Visit TestCafé [Continuous integration guide](http://testcafe.devexpress.com/Documentation/Tutorial/Continuous_Integration) and [Continuous integration API reference](http://testcafe.devexpress.com/Documentation/ApiReference/Continuous_Integration_API_Reference). If you have any additional questions or suggestions don't hesitate to ask using [DevExpress Support Center](http://www.devexpress.com/Support/Center/Question/ChangeFilterSet/1?FavoritesOnly=False&MyItemsOnly=False&MyTeamItemsOnly=False&TechnologyName=Testing+Tools&PlatformName=AllPlatforms&ProductName=AllProducts&TicketType=All).
64
-
65
-
63
+
Visit TestCafé [Continuous integration guide](http://testcafe.devexpress.com/Documentation/Tutorial/Continuous_Integration) and [Continuous integration API reference](http://testcafe.devexpress.com/Documentation/ApiReference/Continuous_Integration_API_Reference). If you have any additional questions or suggestions don't hesitate to ask using [DevExpress Support Center](http://www.devexpress.com/Support/Center/Question/ChangeFilterSet/1?FavoritesOnly=False&MyItemsOnly=False&MyTeamItemsOnly=False&TechnologyName=Testing+Tools&PlatformName=AllPlatforms&ProductName=AllProducts&TicketType=All).
0 commit comments