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

找不到到店取货按钮 #3

Open
AmorXxx opened this issue Oct 25, 2021 · 2 comments
Open

找不到到店取货按钮 #3

AmorXxx opened this issue Oct 25, 2021 · 2 comments

Comments

@AmorXxx
Copy link

AmorXxx commented Oct 25, 2021

no such element: Unable to locate element: {"method":"xpath","selector":"//*[@id="checkout-container"]/div/div[6]/div[1]/div[2]/div/div/div[1]/div/div/div/fieldset/div[1]/div[2]"} (Selenium::WebDriver::Error::NoSuchElementError)
(Session info: chrome=92.0.4515.159)

@paul-xu
Copy link

paul-xu commented Oct 30, 2021

我也碰到了这个问题,有解决了吗?

@paul-xu
Copy link

paul-xu commented Oct 30, 2021

改了一下xpath解决了
Line#91: driver.find_element(xpath: '//*[@id="checkout-container"]/div[2]/div[2]/div/div/div/fieldset/div[1]/div[2]').click

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