Below you can see a screen shot of the control group. How can I click this area using python?
解决方案
To click this area using python you need to get work with Python bindings for Selenium. Use next url to install it and url of how to use it. After getting familiar with content provided by urls above, it shouldn't be a problem to create script which click on button.
After installation of selenium your code to click that button would be quite similar to the code below:
from selenium import webdriver
driver = webdriver.Firefox()
# Go to your page url
driver.get('your page url')
# Get button you are going to click by its id ( also you could us find_element_by_css_selector to get element by css selector)
button_element = driver.find_element_by_id('button id')
button_element.click()
最后
以上就是无奈大白最近收集整理的关于python打开网页后点击网页按钮_Python:如何使用python单击网页中的按钮?的全部内容,更多相关python打开网页后点击网页按钮_Python:如何使用python单击网页中内容请搜索靠谱客的其他文章。
发表评论 取消回复