Skip to content

Automate browser based workflows with AI

Add FR Proxy + small script (#1525)

Shuchang Zhengd1bbaa4c7ad6
diff --git a/skyvern-frontend/src/api/types.ts b/skyvern-frontend/src/api/types.ts
index c25259d8a..011200eb9 100644
--- a/skyvern-frontend/src/api/types.ts
+++ b/skyvern-frontend/src/api/types.ts
@@ -35,6 +35,8 @@ export const ProxyLocation = {
ResidentialES: "RESIDENTIAL_ES",
ResidentialIN: "RESIDENTIAL_IN",
ResidentialJP: "RESIDENTIAL_JP",
+ ResidentialGB: "RESIDENTIAL_GB",
+ ResidentialFR: "RESIDENTIAL_FR",
None: "NONE",
} as const;
diff --git a/skyvern-frontend/src/components/ProxySelector.tsx b/skyvern-frontend/src/components/ProxySelector.tsx
index a052e2a5c..dfe1b05d7 100644
--- a/skyvern-frontend/src/components/ProxySelector.tsx
+++ b/skyvern-frontend/src/components/ProxySelector.tsx
@@ -33,6 +33,12 @@ function ProxySelector({ value, onChange, className }: Props) {
<SelectItem value={ProxyLocation.ResidentialJP}>
Residential (Japan)
</SelectItem>
+ <SelectItem value={ProxyLocation.ResidentialGB}>
+ Residential (United Kingdom)
+ </SelectItem>
+ <SelectItem value={ProxyLocation.ResidentialFR}>
+ Residential (France)
+ </SelectItem>
</SelectContent>
</Select>
);
diff --git a/skyvern/forge/sdk/schemas/tasks.py b/skyvern/forge/sdk/schemas/tasks.py
index 41fdece34..3b55d060f 100644
--- a/skyvern/forge/sdk/schemas/tasks.py
+++ b/skyvern/forge/sdk/schemas/tasks.py
@@ -24,6 +24,7 @@ class ProxyLocation(StrEnum):
RESIDENTIAL_GB = "RESIDENTIAL_GB"
RESIDENTIAL_IN = "RESIDENTIAL_IN"
RESIDENTIAL_JP = "RESIDENTIAL_JP"
+ RESIDENTIAL_FR = "RESIDENTIAL_FR"
NONE = "NONE"
@@ -64,6 +65,9 @@ def get_tzinfo_from_proxy(proxy_location: ProxyLocation) -> ZoneInfo | None:
if proxy_location == ProxyLocation.RESIDENTIAL_JP:
return ZoneInfo("Asia/Kolkata")
+ if proxy_location == ProxyLocation.RESIDENTIAL_FR:
+ return ZoneInfo("Europe/Paris")
+
return None