Skip to content

Commit 2468b55

Browse files
committed
remove duplicate get_current_url() method
1 parent 82ec573 commit 2468b55

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

cli.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
DockerComputer,
99
)
1010

11-
1211
def acknowledge_safety_check_callback(message: str) -> bool:
1312
response = input(
1413
f"Safety Check Warning: {message}\nDo you want to acknowledge and proceed? (y/n): "

computers/base_playwright.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,6 @@ def drag(self, path: List[Dict[str, int]]) -> None:
130130
self._page.mouse.move(point["x"], point["y"])
131131
self._page.mouse.up()
132132

133-
def get_current_url(self) -> str:
134-
return self._page.url
135-
136133
# --- Extra browser-oriented actions ---
137134
def goto(self, url: str) -> None:
138135
try:

0 commit comments

Comments
 (0)