Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
55 lines
1.3 KiB
TypeScript
55 lines
1.3 KiB
TypeScript
import type { INodeProperties } from 'n8n-workflow';
|
|
|
|
import * as create from './create.operation';
|
|
import * as save from './save.operation';
|
|
import * as terminate from './terminate.operation';
|
|
import * as waitForDownload from './waitForDownload.operation';
|
|
|
|
export { create, save, terminate, waitForDownload };
|
|
|
|
export const description: INodeProperties[] = [
|
|
{
|
|
displayName: 'Operation',
|
|
name: 'operation',
|
|
type: 'options',
|
|
noDataExpression: true,
|
|
displayOptions: {
|
|
show: {
|
|
resource: ['session'],
|
|
},
|
|
},
|
|
options: [
|
|
{
|
|
name: 'Create Session',
|
|
value: 'create',
|
|
description: 'Create an Airtop browser session',
|
|
action: 'Create a session',
|
|
},
|
|
{
|
|
name: 'Save Profile on Termination',
|
|
value: 'save',
|
|
description:
|
|
'Save in a profile changes made in your browsing session such as cookies and local storage',
|
|
action: 'Save a profile on session termination',
|
|
},
|
|
{
|
|
name: 'Terminate Session',
|
|
value: 'terminate',
|
|
description: 'Terminate a session',
|
|
action: 'Terminate a session',
|
|
},
|
|
{
|
|
name: 'Wait for Download',
|
|
value: 'waitForDownload',
|
|
description: 'Wait for a file download to become available',
|
|
action: 'Wait for a download',
|
|
},
|
|
],
|
|
default: 'create',
|
|
},
|
|
...create.description,
|
|
...save.description,
|
|
...terminate.description,
|
|
...waitForDownload.description,
|
|
];
|