R
R
Rotyin2021-04-07 21:27:13
Python
Rotyin, 2021-04-07 21:27:13

Permission Error in Python Selenium on android, how to solve?

from selenium import webdriver
import time

mm="/storage/emulated/0/chromedriver"



url="https://instagram.com/"
driver=webdriver.Chrome(executable_path=mm)


try:
    driver.get(url=url)
    time.sleep(5)
except Exception as e:
    print(e)
finally:
    driver.close()
    driver.quit()

Here is my code
And when I run it I get an error - "Permision Error" I tried to specify the rights through chmod, but it didn't help I tried to change the file location but it didn't help either, although I downloaded this version of
webdriver chrome

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question