Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

click button to download file, occurred something is wrong;Selenium 模拟点击按钮下载失败,手动却可以点击 #2082

Open
wesely-cn opened this issue Nov 14, 2024 · 0 comments

Comments

@wesely-cn
Copy link

wesely-cn commented Nov 14, 2024

chrome: 126.0.6478.127 (release version) (32)
undected-chromedriver: 3.5.5
ChromeDriver.exe: 126.0.6478.127

export_xpath = '//span[text()="导 出"]/..'
export_btn = driver.find_element(By.XPATH, export_xpath)
export_btn.click()

download file failed:
image
how to fix this problem?

@wesely-cn wesely-cn changed the title click button to download file, occurred something is wrong click button to download file, occurred something is wrong;Selenium 模拟点击按钮下载失败,手动却可以点击 Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant