with Playwright and Cisco Webex?
Emit new event when a message is added. See the docs here
Creates a room. The authenticated user is automatically added as a member of the room. See the docs here
Post a plain text or rich text message, and optionally, a file attachment, to a room. See the docs here
Generates a pdf of the page and store it on /tmp directory. See the documentation
Playwright is a Node.js library which provides a high-level API to control Chrome/Chromium over the DevTools Protocol. Playwright runs in headless mode on Chromium on Pipedream.
Using Playwright you can perform tasks including:
import { playwright } from '@pipedream/browsers';
export default defineComponent({
async run({steps, $}) {
const browser = await playwright.launch();
// Interact with the web page programmatically
// See Playwright's Page documentation for available methods:
// https://playwright.dev/docs/api/class-page
const page = await browser.newPage();
await page.goto('https://pipedream.com/');
const title = await page.title();
const content = await page.content();
// Close context and browser otherwise the step will hang
await page.context().close()
await browser.close();
return { title, content }
},
})
The Cisco Webex API allows developers to integrate their applications with Cisco's robust collaboration tools, creating a workflow of communication within teams and automating various aspects of the meeting lifecycle, from scheduling to follow-up actions. With this API, you can streamline meeting setups, fetch detailed information about participants and meetings, send messages to spaces (rooms), and manage your Webex resources programmatically. Leveraging Pipedream's capabilities, you can connect these features with other apps to automate complex tasks, analyze meeting data, enhance productivity, and maintain a well-organized communication ecosystem.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cisco_webex: {
type: "app",
app: "cisco_webex",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://webexapis.com/v1/people/me`,
headers: {
Authorization: `Bearer ${this.cisco_webex.$auth.oauth_access_token}`,
},
})
},
})