You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Above: Actual demo of [my_first_test.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py) running on [xkcd.com](http://xkcd.com/353/))
52
+
(Above: Actual demo of [my_first_test.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py) running on [xkcd.com](https://xkcd.com/353/))
53
53
54
54
There are many more examples to try out from the [SeleniumBase/examples](https://github.com/seleniumbase/SeleniumBase/blob/master/examples) directory, which you can run easily if you clone SeleniumBase.
55
55
@@ -181,18 +181,18 @@ from seleniumbase import BaseCase
181
181
classMyTestClass(BaseCase):
182
182
183
183
deftest_basic(self):
184
-
self.open('http://xkcd.com/353/')
184
+
self.open('https://xkcd.com/353/')
185
185
self.assert_element('img[alt="Python"]')
186
186
self.click('a[rel="license"]')
187
187
self.assert_text('free to copy', 'div center')
188
-
self.open("http://xkcd.com/1481/")
188
+
self.open("https://xkcd.com/1481/")
189
189
title =self.get_attribute("#comic img", "title")
190
190
self.assertTrue("86,400 seconds per day"in title)
191
191
self.click('link=Blag')
192
192
self.assert_text('The blag of the webcomic', 'h2')
193
193
self.update_text('input#s', 'Robots!\n')
194
194
self.assert_text('Hooray robots!', '#content')
195
-
self.open('http://xkcd.com/1319/')
195
+
self.open('https://xkcd.com/1319/')
196
196
self.assert_text('Automation', 'div#ctitle')
197
197
```
198
198
(<i>By default, [CSS Selectors](https://www.w3schools.com/cssref/css_selectors.asp) are used for finding page elements.</i>)
@@ -393,7 +393,7 @@ from seleniumbase import BaseCase
0 commit comments