【发布时间】:2021-08-19 15:08:42
【问题描述】:
您好,我正在尝试单击此链接上的“下一步”按钮: https://www.sneakql.com/en-GB/launch/culturekings/womens-air-jordan-1-high-og-court-purple-au/register
我试过了,但是没用……
chrome.find_element_by_xpath('//*[@id="gatsby-focus-wrapper"]/main/div[2]/div[2]/div[2]/div/div/div[2]/div/form/div[3]/div/div/div/button').click();
我明白了:
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element <button class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-fullWidth" tabindex="0" type="submit">...</button> is not clickable at point (456, 870). Other element would receive the click: <div class="jss3" style="flex: 1 0 300px; margin: 15px;">...</div>
【问题讨论】:
-
你有什么错误吗?
-
我明白了
-
selenium.common.exceptions.ElementClickInterceptedException:消息:元素单击被拦截:元素 在点 (456, 870) 不可点击。其他元素会收到点击:...
-
也显示您的代码
标签: python selenium selenium-webdriver xpath automated-tests