lauch.json 配置webdriver
时间: 2023-10-29 18:22:05 浏览: 137
python+webdriver配置
在VSCode中配置launch.json以启动WebdriverAgent的示如下:
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch WebDriverAgent",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/path_to_your_script.py",
"console": "integratedTerminal",
"args": [
"--webdriveragent-path",
"/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj"
]
}
]
}
其中,`${workspaceFolder}/path_to_your_script.py`是您的Python脚本路径,而`/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj`是WebDriverAgent的路径。您可以根据您的实际情况进行修改。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [js调python](https://blog.csdn.net/weixin_39585675/article/details/110447374)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [appium ios自动化_适用于真实设备/模拟器的带有Appium桌面的iOS自动化](https://blog.csdn.net/weixin_26718993/article/details/108498878)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文