File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 44class MyTestClass (BaseCase ):
55
66 def test_basic (self ):
7- self .open ('https://xkcd.com/353/' ) # Navigate to the web page
7+ self .open ('https://xkcd.com/353/' ) # Navigate to the web page
88 self .assert_element ('img[alt="Python"]' ) # Assert element on page
99 self .click ('a[rel="license"]' ) # Click element on page
1010 self .assert_text ('free to copy' , 'div center' ) # Assert text on page
Original file line number Diff line number Diff line change @@ -17,6 +17,5 @@ def test_basic(self):
1717 self .add_tour_step ("Click for the license here." , 'a[rel="license"]' )
1818 self .add_tour_step ("This selects a random comic." , 'a[href*="random"]' )
1919 self .add_tour_step ("Thanks for taking this tour!" )
20- # self.export_tour() # Use this to export the tour as a .js file
20+ # self.export_tour() # Use this to export the tour as [my_tour .js]
2121 self .play_tour ()
22-
Original file line number Diff line number Diff line change 1515Example proxies in PROXY_LIST below are not guaranteed to be active or secure.
1616If you don't already have a proxy server to connect to,
1717you can try finding one from one of following sites:
18+ * https://www.proxynova.com/proxy-server-list/port-8080/
1819* https://www.us-proxy.org/
1920* https://hidemy.name/en/proxy-list/?country=US&type=h#list
2021* http://proxyservers.pro/proxy/list/protocol/http/country/US/
2122"""
2223
2324PROXY_LIST = {
24- # "example1": "64.33.247.157:3128 ", # (Example) - set your own proxy here
25+ "example1" : "104.248.122.30:8080 " , # (Example) - set your own proxy here
2526 "proxy1" : None ,
2627 "proxy2" : None ,
2728 "proxy3" : None ,
Original file line number Diff line number Diff line change @@ -636,7 +636,7 @@ def main():
636636 for line in seleniumbase_lines :
637637 seleniumbase_code += line
638638 seleniumbase_code += "\n "
639- # print seleniumbase_code # (For debugging)
639+ # print( seleniumbase_code) # (For debugging)
640640
641641 # Create SeleniumBase test file
642642 base_file_name = webdriver_python_file .split ('.py' )[0 ]
You can’t perform that action at this time.
0 commit comments