Skip to content

Commit f797410

Browse files
committed
Update examples/presenter/my_presentation.py
1 parent e5b0baf commit f797410

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

examples/presenter/my_presentation.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def test_presenter(self):
7575
'from seleniumbase import BaseCase\n\n'
7676
'class MyPresenterClass(BaseCase):\n\n'
7777
' def test_presenter(self):\n'
78-
' self.create_presentation()\n'
78+
' self.create_presentation(theme="serif")\n'
7979
' self.add_slide("Welcome to Presenter!")\n'
8080
' self.add_slide(\n'
8181
' "Add code to slides:",\n'
@@ -84,7 +84,8 @@ def test_presenter(self):
8484
' "class MyPresenterClass(BaseCase):\\n\\n"\n'
8585
' " def test_presenter(self):\\n"\n'
8686
' " self.create_presentation()\\n"))\n'
87-
' self.begin_presentation(filename="demo.html")'))
87+
' self.begin_presentation(\n'
88+
' filename="demo.html", show_notes=True)'))
8889
self.add_slide(
8990
'<h3>Include <b>notes</b> with slides:</h3><br />',
9091
code=('self.add_slide("[Your HTML goes here]",\n'
@@ -109,4 +110,5 @@ def test_presenter(self):
109110
self.add_slide(
110111
'<h2><b>The End</b></h2>',
111112
image="https://seleniumbase.io/img/sb_logo_10.png")
112-
self.begin_presentation(filename="presenter.html", interval=0)
113+
self.begin_presentation(
114+
filename="presenter.html", show_notes=True, interval=0)

0 commit comments

Comments
 (0)