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 4
4
class MyTestClass (BaseCase ):
5
5
6
6
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
8
8
self .assert_element ('img[alt="Python"]' ) # Assert element on page
9
9
self .click ('a[rel="license"]' ) # Click element on page
10
10
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):
17
17
self .add_tour_step ("Click for the license here." , 'a[rel="license"]' )
18
18
self .add_tour_step ("This selects a random comic." , 'a[href*="random"]' )
19
19
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]
21
21
self .play_tour ()
22
-
Original file line number Diff line number Diff line change 15
15
Example proxies in PROXY_LIST below are not guaranteed to be active or secure.
16
16
If you don't already have a proxy server to connect to,
17
17
you can try finding one from one of following sites:
18
+ * https://www.proxynova.com/proxy-server-list/port-8080/
18
19
* https://www.us-proxy.org/
19
20
* https://hidemy.name/en/proxy-list/?country=US&type=h#list
20
21
* http://proxyservers.pro/proxy/list/protocol/http/country/US/
21
22
"""
22
23
23
24
PROXY_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
25
26
"proxy1" : None ,
26
27
"proxy2" : None ,
27
28
"proxy3" : None ,
Original file line number Diff line number Diff line change @@ -636,7 +636,7 @@ def main():
636
636
for line in seleniumbase_lines :
637
637
seleniumbase_code += line
638
638
seleniumbase_code += "\n "
639
- # print seleniumbase_code # (For debugging)
639
+ # print( seleniumbase_code) # (For debugging)
640
640
641
641
# Create SeleniumBase test file
642
642
base_file_name = webdriver_python_file .split ('.py' )[0 ]
You can’t perform that action at this time.
0 commit comments