https://github.com/alvations/thallium
Cos I can't get selenium to work...
https://github.com/alvations/thallium
selenium selenium-webdriver webscraping
Last synced: 5 months ago
JSON representation
Cos I can't get selenium to work...
- Host: GitHub
- URL: https://github.com/alvations/thallium
- Owner: alvations
- License: mit
- Created: 2019-10-12T04:02:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-12T05:20:18.000Z (over 6 years ago)
- Last Synced: 2025-07-17T18:12:11.056Z (11 months ago)
- Topics: selenium, selenium-webdriver, webscraping
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# thallium
Cos I can't get selenium to work...
## With chromedriver_binary
For some people [`chromedriver_binary`](https://github.com/danielkaiser/python-chromedriver-binary/) works:
```python
from selenium import webdriver
import chromedriver_binary
driver = webdriver.Chrome()
driver.get("http://www.python.org")
assert "Python" in driver.title
```
But not for me =(
[out]:
```
---------------------------------------------------------------------------
SessionNotCreatedException Traceback (most recent call last)
in
2 import chromedriver_binary
3
----> 4 driver = webdriver.Chrome()
5 driver.get("http://www.python.org")
6 assert "Python" in driver.title
SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 78
```
# With pyderman
For some other people [`pyderman`](https://github.com/shadowmoose/pyderman) works:
```python
from selenium import webdriver
import pyderman
path = pyderman.install(browser=pyderman.chrome)
driver = webdriver.Chrome(path)
driver.get("http://www.python.org")
assert "Python" in driver.title
```
Yes, this worked for me... But I think we can do better.