Question: My scripts don't work anymore and I can't figure it out.
It is a chrome version problem apparently... But I don't know how to switch to another version (not the latest?) Does exist another way?

My terminal indicates : 

Traceback (most recent call last):

File "/Users/.../Documents/SCRIPTS/PYTHON/Scripts/# -*- coding: utf-8 -*-.py", line 21, in 
 driver = webdriver.Chrome()

File "/opt/anaconda3/lib/python3.7/site-packages/selenium/webdriver/chrome/webdriver.py", line 81, in **init**
 desired\_capabilities=desired\_capabilities)

File "/opt/anaconda3/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in **init**
 self.start\_session(capabilities, browser\_profile)

File "/opt/anaconda3/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start\_session
 response = self.execute(Command.NEW\_SESSION, parameters)

File "/opt/anaconda3/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
 self.error\_handler.check\_response(response)

File "/opt/anaconda3/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check\_response
 raise exception\_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: Chrome version must be between 71 and 75

(Driver info: chromedriver=2.46.628411 (3324f4c8be9ff2f70a05a30ebc72ffb013e1a71e),platform=Mac OS X 10.14.5 x86\_64)

Any idea?

Answer: 
Use `colspan=2` to make the `th` cell span two columns.

Add a bit of css to format the table as desired

```css
table{border-collapse:collapse;}
tr,td{border:1px solid #aaa;}
td,th{text-align:center;padding:5px 10px;}
```

```html
<table>
  <tr>
    <th colspan=2>Title</th>
  </tr>
  <tr>
    <td>A</td>
    <td>some textt</td>
  </tr>
  <tr>
    <td>B</td>
    <td>b</td>
  </tr>
  <tr>
    <td>C</td>
    <td>c</td>
  </tr>
  <tr>
    <td>some text</td>
    <td>some text</td>
  </tr>
</table>
```

---

### Updated

To show centering of table header.

Also note that `<table>` is 1990s tech. A much better replacement has been recently introduced: CSS Grid. CSS Grid uses DIV structures instead of tables, and new CSS3 instructions that format the divs into table structures. It is MUCH more flexible than the old `<table></table>` structure, and, frankly, easier *(once the table has become complex)*. References:

[W3Schools basic intro](https://www.w3schools.com/css/css_grid.asp)

[CSSTricks Complete Guide](https://css-tricks.com/snippets/css/complete-guide-grid/)

[GridByExample](https://gridbyexample.com/examples/)
NB: this final one by the editor of the excellent [SmashingMagazine](https://www.smashingmagazine.com/2018/04/best-practices-grid-layout/)
Added `colspan` the html `attribute` for `table` tag, please following of the code.

```
<table>
  <tr>
    <th colspan="2">Title</th>
  </tr>
  <tr>
    <td>A</td>
    <td>a</td>
  </tr>
  <tr>
    <td>B</td>
    <td>b</td>
  </tr>
  <tr>
    <td>C</td>
    <td>c</td>
  </tr>
  <tr>
    <td>some text</td>
    <td>some text</td>
  </tr>
</table>

```