1

I'm using chrome book. I installed linux ,miniconda, and jupyter in chrome OS I want to use selenium. selenium need chrome webdriver. But I can't find the directory path that contain chromedriver.exe What can I do? (sorry to my poor English)

mkccip
  • 11
  • 1

1 Answers1

0
os.getcwd() 

should get you current working directory.

try placing your Chrome driver in your current project.

Imports :

import os
cruisepandey
  • 28,520
  • 6
  • 20
  • 38
  • These are in same directory(/home/dgchrome304/). But It doesn't recognize. – mkccip Jul 07 '21 at 04:44
  • I'm using jupyter notebook in linux in chrome os. Just like you said, I find current working directory and I checkecd python file and chromedriver.exe are in same place. So I typed like this `driver = webdriver.Chrome(executable_path = '/home/dgchrome304/chromedriver.exe')` But It didn't work and printed Permission Error... I think this is right path but permission is problem now. – mkccip Jul 07 '21 at 04:52