action neutrinoapi_browser_bot { label: "Browser Bot" description: "Browser bot can extract content, interact with keyboard and mouse events, and execute JavaScript on a website" provider: neutrinoapi method: POST path: "/browser-bot" encoding: form output: { type: "object" required: ["content", "elements", "error-message", "exec-results", "http-redirect-url", "http-status-code", "http-status-message", "is-error", "is-http-ok", "is-http-redirect", "is-secure", "is-timeout", "language-code", "load-time", "mime-type", "response-headers", "security-details", "server-ip", "title", "url"] properties: { content: { type: "string" description: "The complete raw, decompressed and decoded page content. Usually will be either HTML, JSON or XML" } elements: { type: "array" description: "Array containing all the elements matching the supplied selector.
Each element object will contain the text content, HTML content and all current element attributes" items: { type: "string" } } "error-message": { type: "string" description: "Contains the error message if an error has occurred ('is-error' will be true)" } "exec-results": { type: "array" description: "If you executed any JavaScript this array holds the results as objects" items: { type: "string" } } "http-redirect-url": { type: "string" description: "The redirected URL if the URL responded with an HTTP redirect" } "http-status-code": { type: "integer" format: "int32" description: "The HTTP status code the URL returned" } "http-status-message": { type: "string" description: "The HTTP status message the URL returned" } "is-error": { type: "boolean" description: "True if an error has occurred loading the page. Check the 'error-message' field for details" } "is-http-ok": { type: "boolean" description: "True if the HTTP status is OK (200)" } "is-http-redirect": { type: "boolean" description: "True if the URL responded with an HTTP redirect" } "is-secure": { type: "boolean" description: "True if the page is secured using TLS/SSL" } "is-timeout": { type: "boolean" description: "True if a timeout occurred while loading the page. You can set the timeout with the request parameter 'timeout'" } "language-code": { type: "string" description: "The ISO 2-letter language code of the page. Extracted from either the HTML document or via HTTP headers" } "load-time": { type: "number" format: "double" description: "The number of seconds taken to load the page (from initial request until DOM ready)" } "mime-type": { type: "string" description: "The document MIME type" } "response-headers": { type: "object" description: "Map containing all the HTTP response headers the URL responded with" } "security-details": { type: "object" description: "Map containing details of the TLS/SSL setup" } "server-ip": { type: "string" description: "The HTTP servers IP address" } title: { type: "string" description: "The document title" } url: { type: "string" description: "The page URL" } } } }