Script
By using built-in scripts, you can better operate selenium's webdriver. It can also facilitate you to store scripts in physical storage such as databases, so that you can adjust them faster.
Script Definition
Example
{
"method": "redirect",
"url": "https://www.baidu.com/",
"next": {
"method": "inputKeyword",
"xpath": "//*[@id=\"kw\"]",
"keyword": "和泉雾纱",
"next": {
"method": "click",
"xpath": "//*[@id=\"su\"]"
}
}
}Use the script
crawlipt
Last updated