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

bug报告 #3

Open
qasw-987 opened this issue Mar 27, 2024 · 4 comments
Open

bug报告 #3

qasw-987 opened this issue Mar 27, 2024 · 4 comments

Comments

@qasw-987
Copy link

WebDriverWait(driver, timeout=10).until(lambda d: d.find_element(By.CLASS_NAME, "AnswerItem-editButtonText"))
如果答案无编辑,会无法继续,可通过try语句缓解,是否有次生bug未知
pages = driver.find_elements(By.CLASS_NAME, 'PaginationButton')[-2]
如果只有一页会无法继续,可通过try语句缓解,是否有次生bug未知

@ZouJiu1
Copy link
Owner

ZouJiu1 commented Mar 29, 2024

WebDriverWait(driver, timeout=10).until(lambda d: d.find_element(By.CLASS_NAME, "AnswerItem-editButtonText")):需要给出这个example

pages = driver.find_elements(By.CLASS_NAME, 'PaginationButton')[-2]
需要给出网址

@qasw-987
Copy link
Author

qasw-987 commented Mar 30, 2024

网址https://www.zhihu.com/people/ai-zi-79-43
后缀请自加,
Uploading 屏幕截图(1).png…
Uploading 屏幕截图(3).png…

@qasw-987
Copy link
Author

屏幕截图(1)
屏幕截图(3)

@ZouJiu1
Copy link
Owner

ZouJiu1 commented Mar 30, 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

2 participants