node-apiless-youtube-upload-nc
Version:
Upload videos to Youtube in Node.js without any Youtube API dependency by using Selenium.
12 lines (11 loc) • 449 B
TypeScript
import { IWebDriverCookie } from 'selenium-webdriver';
export declare class Cookies {
private readonly items;
constructor(cookies?: IWebDriverCookie[]);
toString(): string;
saveToFileSync(path: string): void;
static fromJSONString(jsonString: string): Cookies;
static fromJSONFileSync(jsonFilePath: string): Cookies;
[Symbol.iterator](): Generator<IWebDriverCookie, void, unknown>;
get length(): number;
}