Skip to main content

browser

  • click - Clicks on a specified element on the page.
  • close - Closes the current page.
  • enter - Simulates the Enter key press on the current page.
  • extractText - Extracts text from the current page.
  • getContent - Retrieves the content of the current page.
  • getHTML - Retrieves the HTML content of the current page.
  • getMarkdown - Retrieves the Markdown content of the current page.
  • getPDF - Retrieves the PDF content of the current page.
  • getUrl - Retrieves the current URL of the browser's active page.
  • goToPage - Navigates to a specified URL.
  • newPage - Opens a new page in the browser.
  • pdfToText - Converts the PDF content of the current page to text.
  • screenshot - Takes a screenshot of the current page.
  • scroll - Scrolls the current page in a specified direction by a specified number of pixels.
  • search - Performs a search on the current page using a specified query.
  • type - Types text into a specified element on the page.