You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: python-selenium/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ You'll need a [Firefox Selenium driver](https://selenium-python.readthedocs.io/i
18
18
19
19
## Run the Bandcamp Discover Player
20
20
21
-
To run the music player, install the package, then use the entrypoint command from your command-line:
21
+
To run the music player, install the package, then use the entry-point command from your commandline:
22
22
23
23
```sh
24
24
(venv) $ python -m pip install .
@@ -32,15 +32,15 @@ Type: play [<track_number>] | pause | tracks | more | exit
32
32
>
33
33
```
34
34
35
-
Type one of the available commands to interact with Bandcamp's Discover section through your headless browser. Listen to songs with `play`, pause the current song with `pause` and restart it with `play`. List available tracks with `tracks`, and load more songs using `more`. You can exit the music player by typing `exit`.
35
+
Type one of the available commands to interact with Bandcamp's Discover section through your headless browser. Listen to songs with `play`, pause the current song with `pause`, and restart it with `play`. List available tracks with `tracks`, and load more songs using `more`. You can exit the music player by typing `exit`.
36
36
37
37
## Troubleshooting
38
38
39
39
If the music player seems to hang when you run the script, confirm whether you've correctly set up your WebDriver based on the following points.
40
40
41
41
### Version Compatibility
42
42
43
-
Confirm that your browser and corresponding WebDriver are in sync. If you followed the previous suggestion, then you should be using Firefox and geckodriver. If that doesn't work for any reason, you may need to switch browser _and_ WebDriver.
43
+
Confirm that your browser and corresponding WebDriver are in sync. If you followed the previous suggestion, then you should be using Firefox and geckodriver. If that doesn't work for some reason, then you may need to switch your browser _and_ WebDriver.
44
44
45
45
For example, if you're using Chrome, then you need to install ChromeDriver and it must match your Chrome version. Otherwise, you may run into errors like `SessionNotCreatedException`.
46
46
For more details, refer to the official [ChromeDriver documentation](https://sites.google.com/chromium.org/driver/) or [geckodriver releases](https://github.com/mozilla/geckodriver/releases).
@@ -52,7 +52,7 @@ Once you've confirmed that your browser and driver match, make sure that the Web
52
52
-**Path Configuration:** The driver must be in your system's PATH, or you need to specify its full path in your code.
53
53
-**Permissions:** Ensure the driver file has the necessary execution permissions.
54
54
55
-
If you're still running into issues executing the script, then consult the [Selenium Documentation](https://www.selenium.dev/documentation/) for additional troubleshooting tips or leave a comment on the tutorial.
55
+
If you're still running into issues executing the script, then consult the [Selenium Documentation](https://www.selenium.dev/documentation/) for additional troubleshooting tips or leave a comment in the tutorial.
0 commit comments