MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / test_presentation

Method test_presentation

examples/presenter/fundamentals.py:6–416  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4
5class MyTestClass(BaseCase):
6 def test_presentation(self):
7 self.create_presentation(theme="serif", transition="fade")
8 self.add_slide(
9 "<h2>Python Selenium:</h2>\n"
10 "<h3>Fundamentals to Frameworks</h3>"
11 "<h3>(with SeleniumBase)</h3>\n"
12 "<br /><hr /><br />\n"
13 "<h3>Presented by <b>Michael Mintz</b></h3>\n"
14 "<h3>SeleniumConf 2023 - Chicago</h3>\n"
15 )
16 self.add_slide(
17 "<h3><b>Welcome to Chicago!</b></h3><hr />\n",
18 image="https://seleniumbase.io/other/chicago_skyline.png",
19 )
20 self.add_slide(
21 "<h3><b>A few shout-outs before starting:</b></h3><hr /><br />\n"
22 "<ul>\n"
23 "<li><b>The Selenium Org</b> (made everything possible)</li><br />"
24 "<li><b>Conference organizers</b> (made today possible)</li><br />"
25 "<li><b>My wife</b> (a major supporter of my work)</li><br />"
26 "<li><b>iboss</b> (my employer)</li>\n"
27 "</ul>",
28 )
29 self.add_slide(
30 "<p><b>About me:</b></p>\n"
31 "<ul>\n"
32 "<li>I created the <b>SeleniumBase</b> framework.</li>\n"
33 "<li>I lead the Automation Team at <b>iboss</b>.</li>\n"
34 "</ul>",
35 image="https://seleniumbase.io/other/iboss_booth.png",
36 )
37 self.add_slide(
38 "<p><b>"
39 "This is the ONLY Python session at SeleniumConf!"
40 "</b></p><hr /><br />\n"
41 "<h3>\n"
42 "If one Python session is not enough, come see me afterwards.\n"
43 "</h3>\n",
44 image="https://seleniumbase.io/other/python_3d_logo.png",
45 )
46 self.add_slide(
47 "<h4><b>By the end of this presentation, you'll learn:</b></h4>"
48 "<hr /><br />\n"
49 "<ul>\n"
50 "<li>Python Selenium fundamentals.</li><br />\n"
51 "<li>How test frameworks can improve on the fundamentals.</li>"
52 "<br />\n"
53 "<li>How SeleniumBase makes Python Web Automation easier.</li>"
54 "<br />\n"
55 "</ul>",
56 )
57 self.add_slide(
58 "<h3>The Format:</h3>"
59 "<hr />\n"
60 "<ul>\n"
61 "<li>Slides.</li>\n"
62 "<li>ReadMe files.</li>\n"
63 "<li>LOTS of live demos!!!</li>\n"

Callers

nothing calls this directly

Calls 3

create_presentationMethod · 0.80
add_slideMethod · 0.80
begin_presentationMethod · 0.80

Tested by

no test coverage detected