Skip to content

Commit 573be0b

Browse files
committed
Add the ip_cow test
1 parent 3b0e80a commit 573be0b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

examples/ip_cow_test.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import time
2+
from seleniumbase import BaseCase
3+
4+
5+
class MyTestClass(BaseCase):
6+
7+
def test_ip_cow(self):
8+
self.open('https://www.ipcow.com/')
9+
ip_data = self.get_text("form table")
10+
print("\n\n*** IP and Browser Data: ***")
11+
print(ip_data)
12+
print("\nThe browser will close automatically in 7 seconds...")
13+
time.sleep(7)

0 commit comments

Comments
 (0)