[英]How do I locate and click this start button using selenium and python?
[英]How do you locate and click on this button? Using python and selenium to web automate
嘗試復制 XPath,然后使用 driver.find_element_by_xpath(復制 xpath ) function 以幫助定位元素然后檢查。
您可以按 JD2775 所說的名稱 select 它,如果您想了解更多關於它的 信息 https://selenium-python.readthedocs.io/locating-elements.ZFC35FDC70AD5FC69D23EZC83
你可以試試
btn = driver.find_element_by_name('btnSignUp').click()
或者
btn = driver.find_element_by_name('btnSignUp')
btn.click()
或類似的東西
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.