Setting up a web browser with Python. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Setting up a web browser with Python.

I get a Unicodeescape error when trying to set up my web browser. I already tried putting double slashes and placing an r before writing the path

2nd May 2020, 6:26 AM
Jeremy Cruz
Jeremy Cruz - avatar
8 Answers
0
Share your code or at least the line where error is located. I mean share the string itself. If you don't want to share it then share a similar string.
3rd May 2020, 4:40 AM
Kevin ★
0
I already tried putting r to make the string raw but it doesn’t work
3rd May 2020, 4:42 AM
Jeremy Cruz
Jeremy Cruz - avatar
0
C:\Users\jerem\Downloads\chromedriver_win32
3rd May 2020, 4:57 AM
Jeremy Cruz
Jeremy Cruz - avatar
0
Try replacing all \ with \\
3rd May 2020, 5:13 AM
Kevin ★
0
i did that as well. didn’t work
3rd May 2020, 5:13 AM
Jeremy Cruz
Jeremy Cruz - avatar
0
I did it and now I don't get unescape error. Are you getting another error? Because everything is well escaped now🤔
3rd May 2020, 5:18 AM
Kevin ★
0
nope, I still get the same error
3rd May 2020, 5:26 AM
Jeremy Cruz
Jeremy Cruz - avatar
- 1
driver = webdriver.Chrome(“...”)
3rd May 2020, 4:42 AM
Jeremy Cruz
Jeremy Cruz - avatar