Skip to content

Commit 99dcc10

Browse files
committed
Update the proxy test
1 parent 3353646 commit 99dcc10

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

examples/proxy_test.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@ def test_proxy(self):
1515
self.get_new_driver(page_load_strategy="none")
1616
self.open("https://api.ipify.org/")
1717
ip_address = self.get_text("body")
18-
self.open("https://ipinfo.io/")
19-
self.type('input[name="search"]', ip_address, timeout=20)
20-
self.sleep(0.5)
21-
self.click('button span:contains("Search")')
2218
print("\n\nMy IP Address = %s\n" % ip_address)
19+
self.open("https://ipinfo.io/%s" % ip_address)
20+
self.sleep(2)
2321
self.wait_for_text(ip_address, "h1", timeout=20)
2422
self.wait_for_element_present('[href="/signup"]')
2523
self.wait_for_text("Hosted domains", timeout=20)

0 commit comments

Comments
 (0)