Skip to content

Commit 6524a9f

Browse files
committed
Update the docs
1 parent d76fc31 commit 6524a9f

File tree

3 files changed

+26
-26
lines changed

3 files changed

+26
-26
lines changed

examples/chart_maker/ReadMe.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Here are screenshots from the examples:
5353
<a href="https://seleniumbase.io/other/multi_series_chart.png"><img width="500" src="https://seleniumbase.io/other/multi_series_chart.png" title="Screenshot"></a><br>
5454

5555

56-
<h3><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="24" /> Here's a line chart example:</h3>
56+
<h3><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> Here's a line chart example:</h3>
5757

5858
```python
5959
from seleniumbase import BaseCase
@@ -83,7 +83,7 @@ pytest test_line_chart.py
8383
Because that presentation above has an ``interval`` set to ``8``, it will automatically advance to the next slide after 8 seconds. (Or exit if there are no more slides.)
8484

8585

86-
<h3><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="24" /> For a more advanced example (multiple charts in a presentation):</h3>
86+
<h3><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> For a more advanced example (multiple charts in a presentation):</h3>
8787

8888
```python
8989
from seleniumbase import BaseCase
@@ -99,19 +99,19 @@ class MyChartMakerClass(BaseCase):
9999
self.add_data_point("Failed", 1, color="#f1888f")
100100
self.add_slide("<p>Pie Chart</p>" + self.extract_chart())
101101

102-
self.create_bar_chart(title="Language", libs=False)
102+
self.create_bar_chart(title="Language")
103103
self.add_data_point("Python", 33, color="Orange")
104104
self.add_data_point("JavaScript", 27, color="Teal")
105105
self.add_data_point("HTML + CSS", 21, color="Purple")
106106
self.add_slide("<p>Bar Chart</p>" + self.extract_chart())
107107

108-
self.create_column_chart(title="Colors", libs=False)
108+
self.create_column_chart(title="Colors")
109109
self.add_data_point("Red", 10, color="Red")
110110
self.add_data_point("Green", 25, color="Green")
111111
self.add_data_point("Blue", 15, color="Blue")
112112
self.add_slide("<p>Column Chart</p>" + self.extract_chart())
113113

114-
self.create_line_chart(title="Last Week's Data", libs=False)
114+
self.create_line_chart(title="Last Week's Data")
115115
self.add_data_point("Sun", 5)
116116
self.add_data_point("Mon", 10)
117117
self.add_data_point("Tue", 20)
@@ -138,7 +138,7 @@ pytest chart_presentation.py
138138
Multi-Series charts can also be created. Try the available examples to learn more.
139139

140140

141-
<h2><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="24" /> ChartMaker API</h2>
141+
<h2><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> ChartMaker API</h2>
142142

143143
```python
144144
self.create_pie_chart(
@@ -260,7 +260,7 @@ self.create_area_chart(
260260
If creating multiple charts at the same time, you can pass the ``chart_name`` parameter to distinguish between different charts.
261261

262262

263-
<h3><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="24" /> Adding a data point to a chart:</h3>
263+
<h3><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> Adding a data point to a chart:</h3>
264264

265265
```python
266266
self.add_data_point(label, value, color=None, chart_name=None):
@@ -277,7 +277,7 @@ self.add_data_point(label, value, color=None, chart_name=None):
277277
```
278278

279279

280-
<h3><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="24" /> Adding a new data series to an existing chart:</h3>
280+
<h3><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> Adding a new data series to an existing chart:</h3>
281281

282282
```python
283283
self.add_series_to_chart(self, data_name=None, chart_name=None):
@@ -291,7 +291,7 @@ self.add_series_to_chart(self, data_name=None, chart_name=None):
291291
```
292292

293293

294-
<h3><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="24" /> Saving a chart to a file:</h3>
294+
<h3><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> Saving a chart to a file:</h3>
295295

296296
```python
297297
self.save_chart(chart_name=None, filename=None):
@@ -307,7 +307,7 @@ self.save_chart(chart_name=None, filename=None):
307307
The full HTML of the chart is saved to the ``saved_charts/`` folder.
308308

309309

310-
<h3><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="24" /> Extracting the HTML of a chart:</h3>
310+
<h3><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> Extracting the HTML of a chart:</h3>
311311

312312
```python
313313
self.extract_chart(chart_name=None):
@@ -319,7 +319,7 @@ self.extract_chart(chart_name=None):
319319
```
320320

321321

322-
<h3><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="24" /> Displaying a chart in the browser window:</h3>
322+
<h3><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> Displaying a chart in the browser window:</h3>
323323

324324
```python
325325
self.display_chart(chart_name=None, filename=None):

examples/migration/protractor/ReadMe.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@
88

99
```bash
1010
$ pytest --rs -v --guest
11-
# ======================== test session starts ======================== #
11+
========================== test session starts ==========================
1212
platform darwin -- Python 3.9.2, pytest-6.2.3, py-1.10.0, pluggy-0.13.1
13-
metadata: {'Python': '3.9.2', 'Platform': 'macOS-10.14.6-x86_64-i386-64bit', 'Packages': {'pytest': '6.2.3', 'py': '1.10.0', 'pluggy': '0.13.1'}, 'Plugins': {'html': '2.0.1', 'rerunfailures': '9.1.1', 'xdist': '2.2.1', 'metadata': '1.11.0', 'ordering': '0.6', 'forked': '1.3.0', 'seleniumbase': '1.59.6'}}
13+
metadata: {'Python': '3.9.2', 'Platform': 'macOS-10.14.6-x86_64-i386-64bit', 'Packages': {'pytest': '6.2.3', 'py': '1.10.0', 'pluggy': '0.13.1'}, 'Plugins': {'html': '2.0.1', 'rerunfailures': '9.1.1', 'xdist': '2.2.1', 'metadata': '1.11.0', 'ordering': '0.6', 'forked': '1.3.0', 'seleniumbase': '1.62.0'}}
1414
rootdir: /Users/michael/github/SeleniumBase/examples, configfile: pytest.ini
15-
plugins: html-2.0.1, rerunfailures-9.1.1, xdist-2.2.1, metadata-1.11.0, ordering-0.6, forked-1.3.0, seleniumbase-1.59.6
15+
plugins: html-2.0.1, rerunfailures-9.1.1, xdist-2.2.1, metadata-1.11.0, ordering-0.6, forked-1.3.0, seleniumbase-1.62.0
1616
collected 4 items
1717

1818
example_test.py::AngularJSHomePageTests::test_greet_user PASSED
1919
example_test.py::AngularJSHomePageTests::test_todo_list PASSED
2020
input_test.py::AngularMaterialInputTests::test_invalid_input PASSED
2121
mat_paginator_test.py::AngularMaterialPaginatorTests::test_pagination PASSED
2222

23-
# ======================== 4 passed in 10.16s ======================== #
23+
========================== 4 passed in 10.34s ==========================
2424
```

help_docs/chart_maker.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Here are screenshots from the examples:
5353
<a href="https://seleniumbase.io/other/multi_series_chart.png"><img width="500" src="https://seleniumbase.io/other/multi_series_chart.png" title="Screenshot"></a><br>
5454

5555

56-
<h3><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="24" /> Here's a line chart example:</h3>
56+
<h3><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> Here's a line chart example:</h3>
5757

5858
```python
5959
from seleniumbase import BaseCase
@@ -83,7 +83,7 @@ pytest test_line_chart.py
8383
Because that presentation above has an ``interval`` set to ``8``, it will automatically advance to the next slide after 8 seconds. (Or exit if there are no more slides.)
8484

8585

86-
<h3><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="24" /> For a more advanced example (multiple charts in a presentation):</h3>
86+
<h3><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> For a more advanced example (multiple charts in a presentation):</h3>
8787

8888
```python
8989
from seleniumbase import BaseCase
@@ -99,19 +99,19 @@ class MyChartMakerClass(BaseCase):
9999
self.add_data_point("Failed", 1, color="#f1888f")
100100
self.add_slide("<p>Pie Chart</p>" + self.extract_chart())
101101

102-
self.create_bar_chart(title="Language", libs=False)
102+
self.create_bar_chart(title="Language")
103103
self.add_data_point("Python", 33, color="Orange")
104104
self.add_data_point("JavaScript", 27, color="Teal")
105105
self.add_data_point("HTML + CSS", 21, color="Purple")
106106
self.add_slide("<p>Bar Chart</p>" + self.extract_chart())
107107

108-
self.create_column_chart(title="Colors", libs=False)
108+
self.create_column_chart(title="Colors")
109109
self.add_data_point("Red", 10, color="Red")
110110
self.add_data_point("Green", 25, color="Green")
111111
self.add_data_point("Blue", 15, color="Blue")
112112
self.add_slide("<p>Column Chart</p>" + self.extract_chart())
113113

114-
self.create_line_chart(title="Last Week's Data", libs=False)
114+
self.create_line_chart(title="Last Week's Data")
115115
self.add_data_point("Sun", 5)
116116
self.add_data_point("Mon", 10)
117117
self.add_data_point("Tue", 20)
@@ -138,7 +138,7 @@ pytest chart_presentation.py
138138
Multi-Series charts can also be created. Try the available examples to learn more.
139139

140140

141-
<h2><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="24" /> ChartMaker API</h2>
141+
<h2><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> ChartMaker API</h2>
142142

143143
```python
144144
self.create_pie_chart(
@@ -260,7 +260,7 @@ self.create_area_chart(
260260
If creating multiple charts at the same time, you can pass the ``chart_name`` parameter to distinguish between different charts.
261261

262262

263-
<h3><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="24" /> Adding a data point to a chart:</h3>
263+
<h3><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> Adding a data point to a chart:</h3>
264264

265265
```python
266266
self.add_data_point(label, value, color=None, chart_name=None):
@@ -277,7 +277,7 @@ self.add_data_point(label, value, color=None, chart_name=None):
277277
```
278278

279279

280-
<h3><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="24" /> Adding a new data series to an existing chart:</h3>
280+
<h3><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> Adding a new data series to an existing chart:</h3>
281281

282282
```python
283283
self.add_series_to_chart(self, data_name=None, chart_name=None):
@@ -291,7 +291,7 @@ self.add_series_to_chart(self, data_name=None, chart_name=None):
291291
```
292292

293293

294-
<h3><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="24" /> Saving a chart to a file:</h3>
294+
<h3><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> Saving a chart to a file:</h3>
295295

296296
```python
297297
self.save_chart(chart_name=None, filename=None):
@@ -307,7 +307,7 @@ self.save_chart(chart_name=None, filename=None):
307307
The full HTML of the chart is saved to the ``saved_charts/`` folder.
308308

309309

310-
<h3><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="24" /> Extracting the HTML of a chart:</h3>
310+
<h3><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> Extracting the HTML of a chart:</h3>
311311

312312
```python
313313
self.extract_chart(chart_name=None):
@@ -319,7 +319,7 @@ self.extract_chart(chart_name=None):
319319
```
320320

321321

322-
<h3><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="24" /> Displaying a chart in the browser window:</h3>
322+
<h3><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> Displaying a chart in the browser window:</h3>
323323

324324
```python
325325
self.display_chart(chart_name=None, filename=None):

0 commit comments

Comments
 (0)