我必须在Android上运行这个Selenium Python脚本。
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.common.by import By
from selenium.webdriver.chrome.options import Options
chrome_options = Options()
chrome_options.add_argument("--headless")
chrome_options.add_argument('--log-level=1')
s=Service("C:/Users/Python/chromedriver")
driver = webdriver.Chrome(service=s, options=chrome_options)
driver.get('https://www.amazon.it/dp/B08T769JQD')
title = driver.find_element(By.ID, "productTitle").text
print(title)我尝试过Pydroid,但是当我使用“”时,我会出现这个错误。

我已经安装了最后一个pip版本。
我试着用"curl --proto '=https‘--tlsv1.2 -sSf https://sh.rustup.rs _ sh“安装Rust,但是我有这个错误。

我看到了塞伦德鲁德的存在,但是如何用脚本和Pydroid来实现它呢?
发布于 2022-02-25 19:37:38
/存储/模拟/0 pip安装-无-deps硒
这将忽略其他安装。
在Pydroid工作
https://stackoverflow.com/questions/69912391
复制相似问题