1
1
[ <img src =" https://seleniumbase.io/cdn/img/sb_logo_10t.png " title =" SeleniumBase " width =" 220 " >] ( https://github.com/seleniumbase/SeleniumBase/ )
2
2
3
- <h1 > 📑 Presenter / Slides 🎞️ </h1 >
3
+ <h1 > 📑 Presenter/ Slides 🎞️ </h1 >
4
4
5
5
<p >SeleniumBase Presenter / Slides lets you use Python to generate HTML presentations and slide shows from Reveal-JS.</p >
6
6
@@ -37,7 +37,7 @@ pytest core_presentation.py
37
37
```
38
38
39
39
40
- <h3 ><img src =" https://seleniumbase.io/img/sb_icon .png " title =" SeleniumBase " width =" 24 " /> Creating a new presentation:</h3 >
40
+ <h3 ><img src =" https://seleniumbase.io/img/logo6 .png " title =" SeleniumBase " width =" 24 " /> Creating a new presentation:</h3 >
41
41
42
42
``` python
43
43
self .create_presentation(name = None , theme = " serif" , transition = " default" )
@@ -60,7 +60,7 @@ Notes are disabled by default. You can enable notes by specifying:
60
60
`` show_notes=True ``
61
61
62
62
63
- <h3 ><img src =" https://seleniumbase.io/img/sb_icon .png " title =" SeleniumBase " width =" 24 " /> Adding a slide to a presentation:</h3 >
63
+ <h3 ><img src =" https://seleniumbase.io/img/logo6 .png " title =" SeleniumBase " width =" 24 " /> Adding a slide to a presentation:</h3 >
64
64
65
65
``` python
66
66
self .add_slide(content = None , image = None , code = None , iframe = None ,
@@ -83,8 +83,7 @@ self.add_slide(content=None, image=None, code=None, iframe=None,
83
83
"""
84
84
```
85
85
86
-
87
- <h3 ><img src =" https://seleniumbase.io/img/sb_icon.png " title =" SeleniumBase " width =" 24 " /> Running a presentation:</h3 >
86
+ <h3 ><img src =" https://seleniumbase.io/img/logo6.png " title =" SeleniumBase " width =" 24 " /> Running a presentation:</h3 >
88
87
89
88
``` python
90
89
self .begin_presentation(
@@ -107,7 +106,7 @@ Before the presentation is run, the full HTML is saved to the ``saved_presentati
107
106
108
107
All methods have the optional `` name `` argument, which is only needed if you're creating multiple presentations at once.
109
108
110
- <h3 ><img src =" https://seleniumbase.io/img/sb_icon .png " title =" SeleniumBase " width =" 24 " /> Here's an example of using SeleniumBase Presenter:</h3 >
109
+ <h3 ><img src =" https://seleniumbase.io/img/logo6 .png " title =" SeleniumBase " width =" 24 " /> Here's an example of using SeleniumBase Presenter:</h3 >
111
110
112
111
``` python
113
112
from seleniumbase import BaseCase
@@ -232,7 +231,7 @@ That example is from [my_presentation.py](https://github.com/seleniumbase/Seleni
232
231
pytest my_presentation.py
233
232
```
234
233
235
- <h3 ><img src =" https://seleniumbase.io/img/sb_icon .png " title =" SeleniumBase " width =" 24 " /> Saving a presentation:</h3 >
234
+ <h3 ><img src =" https://seleniumbase.io/img/logo6 .png " title =" SeleniumBase " width =" 24 " /> Saving a presentation:</h3 >
236
235
237
236
If you want to save the presentation you created as an HTML file, use:
238
237
@@ -241,6 +240,7 @@ self.save_presentation(filename="my_presentation.html", show_notes=True)
241
240
```
242
241
243
242
Presentations automatically get saved when calling:
243
+
244
244
``` python
245
245
self .begin_presentation(show_notes = True )
246
246
```
0 commit comments