Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
Support ISP Proxies in Skyvern (#1823)
Shuchang Zheng23744b303980
diff --git a/skyvern-frontend/src/api/types.ts b/skyvern-frontend/src/api/types.tsindex 59c620a21..1f7754244 100644--- a/skyvern-frontend/src/api/types.ts+++ b/skyvern-frontend/src/api/types.ts@@ -38,6 +38,7 @@ export const ProxyLocation = {ResidentialGB: "RESIDENTIAL_GB",ResidentialFR: "RESIDENTIAL_FR",ResidentialDE: "RESIDENTIAL_DE",+ ResidentialISP: "RESIDENTIAL_ISP",None: "NONE",} as const;diff --git a/skyvern-frontend/src/components/ProxySelector.tsx b/skyvern-frontend/src/components/ProxySelector.tsxindex a55840b06..835a8d138 100644--- a/skyvern-frontend/src/components/ProxySelector.tsx+++ b/skyvern-frontend/src/components/ProxySelector.tsx@@ -21,6 +21,9 @@ function ProxySelector({ value, onChange, className }: Props) {</SelectTrigger><SelectContent><SelectItem value={ProxyLocation.Residential}>Residential</SelectItem>+ <SelectItem value={ProxyLocation.ResidentialISP}>+ Residential ISP (US)+ </SelectItem><SelectItem value={ProxyLocation.ResidentialES}>Residential (Spain)</SelectItem>diff --git a/skyvern/forge/sdk/schemas/tasks.py b/skyvern/forge/sdk/schemas/tasks.pyindex 74147872b..9533c60dc 100644--- a/skyvern/forge/sdk/schemas/tasks.py+++ b/skyvern/forge/sdk/schemas/tasks.py@@ -26,6 +26,7 @@ class ProxyLocation(StrEnum):RESIDENTIAL_JP = "RESIDENTIAL_JP"RESIDENTIAL_FR = "RESIDENTIAL_FR"RESIDENTIAL_DE = "RESIDENTIAL_DE"+ RESIDENTIAL_ISP = "RESIDENTIAL_ISP"NONE = "NONE"@@ -72,6 +73,9 @@ def get_tzinfo_from_proxy(proxy_location: ProxyLocation) -> ZoneInfo | None:if proxy_location == ProxyLocation.RESIDENTIAL_DE:return ZoneInfo("Europe/Berlin")+ if proxy_location == ProxyLocation.RESIDENTIAL_ISP:+ return ZoneInfo("America/New_York")+return None