Selenium Python Script Runner
Pricing
from $4.00 / 1,000 managed runtime (30 seconds)s
Selenium Python Script Runner
Run Selenium Python scripts in the cloud without building and deploying your own Actor.
Selenium Python Script Runner
Pricing
from $4.00 / 1,000 managed runtime (30 seconds)s
Run Selenium Python scripts in the cloud without building and deploying your own Actor.
You can access the Selenium Python Script Runner programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in API & Integrations in Apify Console.
$echo '{< "code": "import asyncio\\n\\nfrom apify import Actor\\nfrom selenium import webdriver\\n\\ndriver = webdriver.Chrome()\\ndriver.get(\\"https://example.com\\")\\ntitle = driver.title\\nprint(title)\\ndriver.quit()\\n\\nasync def push_result():\\n async with Actor:\\n await Actor.push_data({\\"title\\": title})\\n\\nasyncio.run(push_result())\\n"<}' |<apify call vgvianna/selenium-python-script-runner --silent --output-datasetThe Apify CLI is the official tool that allows you to use Selenium Python Script Runner locally, providing convenience functions and automatic retries on errors.
Using installation script (macOS/Linux):
$curl -fsSL https://apify.com/install-cli.sh | bashUsing installation script (Windows):
$irm https://apify.com/install-cli.ps1 | iexUsing Homebrew:
$brew install apify-cliUsing npm:
$npm install -g apify-cliOther API clients include: