From 3f8bbe11d96b751affa9e2bf0a1995008f9e3220 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 11 Feb 2018 15:40:34 +0900 Subject: send press key to tabs --- e2e/ambassador/src/client/tabs.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 e2e/ambassador/src/client/tabs.js (limited to 'e2e/ambassador/src/client/tabs.js') diff --git a/e2e/ambassador/src/client/tabs.js b/e2e/ambassador/src/client/tabs.js new file mode 100644 index 0000000..4db3c11 --- /dev/null +++ b/e2e/ambassador/src/client/tabs.js @@ -0,0 +1,12 @@ +import { TABS_CREATE } from '../shared/messages'; +import * as ipc from './ipc'; + +const create = (windowId, url) => { + return ipc.send({ + type: TABS_CREATE, + windowId, + url, + }); +}; + +export { create }; -- cgit v1.2.3