Take Screenshot
Capture a screenshot of a specified webpage.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TAKE_SCREENSHOT])
Generate PDF
Convert a webpage to a PDF document.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GENERATE_PDF])
Execute JavaScript
Run custom JavaScript code on a webpage.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.EXECUTE_JAVASCRIPT])
Scrape Content
Extract specific content from a webpage using selectors.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SCRAPE_CONTENT])
Navigate To URL
Load a specified URL in the headless browser.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NAVIGATE_TO_URL])
Click Element
Simulate a click on a specified element on the webpage.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CLICK_ELEMENT])
Wait For Element
Pause execution until a specific element appears on the page.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.WAIT_FOR_ELEMENT])
Set Viewport
Change the viewport size of the browser.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SET_VIEWPORT])
Get Page HTML
Retrieve the full HTML content of the current page.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_PAGE_HTML])
Set Cookie
Add or modify a cookie for the current browsing session.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SET_COOKIE])
Clear Cookies
Remove all cookies from the current browsing session.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CLEAR_COOKIES])
Block Resource
Prevent specific resources from loading on webpages.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BLOCK_RESOURCE])
Emulate Device
Simulate a specific device's characteristics for testing.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.EMULATE_DEVICE])
Get Page Metrics
Collect performance metrics for the loaded webpage.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_PAGE_METRICS])
Execute Function
Run a predefined function in the browser context.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.EXECUTE_FUNCTION])
Scroll Page
Programmatically scroll the webpage to a specific position.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SCROLL_PAGE])
Get Element Attribute
Retrieve the value of a specified attribute for an element.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_ELEMENT_ATTRIBUTE])
Intercept Network Request
Modify or block specific network requests.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.INTERCEPT_NETWORK_REQUEST])
Page Load Complete
Fires when a webpage has finished loading.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PAGE_LOAD_COMPLETE])
Element Appears
Activates when a specific element becomes visible on the page.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ELEMENT_APPEARS])
Console Error
Triggers when a console error occurs in the browser.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CONSOLE_ERROR])
Network Request
Fires when a specific network request is made.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.NETWORK_REQUEST])
JavaScript Error
Activates when a JavaScript error occurs on the page.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.JAVASCRIPT_ERROR])
Resource Load Failed
Triggers when a resource fails to load on the page.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.RESOURCE_LOAD_FAILED])
URL Change
Fires when the URL of the page changes.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.URL_CHANGE])
DOM Mutation
Activates when the DOM structure of the page is modified.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DOM_MUTATION])
Page Crash
Triggers if the browser page crashes during execution.
from composio_crewai import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.PAGE_CRASH])