Steel.dev
App · 13 actions
Create and manage cloud browser sessions and capture pages with Steel.dev.
Actions
| Action | What it does |
|---|---|
| Capture a webpage screenshot | Capture a screenshot of a public webpage and return its hosted image URL. |
| Create a browser session | Create a browser session. |
| Extract content from a webpage | Extract content from a webpage. |
| Get a browser profile | Get a browser profile. |
| Get a browser session | Get a browser session. |
| Get live session details | Get live session details. |
| List browser profiles | List browser profiles. |
| List browser session events | List browser session events. |
| List browser sessions | List browser sessions. |
| List files in a session | List files in a session. |
| List stored files | List stored files. |
| Release a browser session | Release a browser session. |
| Save a webpage as a PDF | Render a public webpage to a PDF and return its hosted file URL. |
Capture a webpage screenshot
Capture a screenshot of a public webpage and return its hosted image URL.
Inputs
- URL
urltextRequired - Public webpage to capture.
- Full page
full_pagetrue/false - Include the whole page.
Outputs
dataobject- The response from Steel.dev.
Example output
{
"data": {
"url": "example"
}
}Create a browser session
Create a browser session.
Inputs
- Timeout ms
timeout_msnumber - Timeout ms.At least 1000.
- Profile
profile_idtext - Profile ID.
- Namespace
namespacetext - Namespace.
Outputs
dataobject- The response from Steel.dev.
Example output
{
"data": {
"createdAt": "example",
"id": "example",
"sessionViewerUrl": "example",
"status": "example",
"timeout": 1,
"websocketUrl": "example"
}
}Extract content from a webpage
Extract content from a webpage.
Inputs
- URL
urltextRequired - Url.
- Format
formatlist - Format.One or more of:
html,readability,cleaned_html(Cleaned html),markdown.
Outputs
dataobject- The response from Steel.dev.
Example output
{
"data": {
"content": {}
}
}Get a browser profile
Get a browser profile.
Inputs
- Profile
profile_idtextRequired - Profile ID.
Outputs
dataobject- The response from Steel.dev.
Example output
{
"data": {
"id": "example",
"status": "example"
}
}Get a browser session
Get a browser session.
Inputs
- Session
session_idtextRequired - Session ID.
Outputs
dataobject- The response from Steel.dev.
Example output
{
"data": {
"createdAt": "example",
"id": "example",
"sessionViewerUrl": "example",
"status": "example",
"timeout": 1,
"websocketUrl": "example"
}
}Get live session details
Get live session details.
Inputs
- Session
session_idtextRequired - Session ID.
Outputs
dataobject- The response from Steel.dev.
Example output
{
"data": {}
}List browser profiles
List browser profiles.
Inputs
None.
Outputs
dataobject- The response from Steel.dev.
Example output
{
"data": {
"profiles": [
{
"id": "example",
"status": "example"
}
]
}
}List browser session events
List browser session events.
Inputs
- Session
session_idtextRequired - Session ID.
Outputs
datalist- The response from Steel.dev.
Example output
{
"data": [
{}
]
}List browser sessions
List browser sessions.
Inputs
- Limit
limitnumber - Limit.From 1 to 100.
- Cursor
cursortext - Cursor.
- Status
statustext - Status.One of:
live,released,failed.
Outputs
dataobject- The response from Steel.dev.
Example output
{
"data": {
"sessions": [
{
"createdAt": "example",
"id": "example",
"sessionViewerUrl": "example",
"status": "example",
"timeout": 1,
"websocketUrl": "example"
}
]
}
}List files in a session
List files in a session.
Inputs
- Session
session_idtextRequired - Session ID.
Outputs
dataobject- The response from Steel.dev.
Example output
{
"data": {
"data": [
{
"lastModified": "example",
"path": "example",
"size": 1
}
]
}
}List stored files
List stored files.
Inputs
None.
Outputs
dataobject- The response from Steel.dev.
Example output
{
"data": {
"data": [
{
"lastModified": "example",
"path": "example",
"size": 1
}
]
}
}Release a browser session
Release a browser session.
Inputs
- Session
session_idtextRequired - Session ID.
Outputs
dataobject- The response from Steel.dev.
Example output
{
"data": {
"message": "example"
}
}Save a webpage as a PDF
Render a public webpage to a PDF and return its hosted file URL.
Inputs
- URL
urltextRequired - Public webpage to render.
Outputs
dataobject- The response from Steel.dev.
Example output
{
"data": {
"url": "example"
}
}