# 节点点击 dom.click()
示例
```
<div class="demo" onclick="console.log('点击成功')">点击</div>
async mounted() {
let dom = this.$('.demo')
dome.click()
},
```
# 点击获得坐标 this.getCoordinate()
示例
```
async mounted() {
// 点击获得坐标 引入函数 点击html就可以打印到控制台
this.getCoordinate()
},
```
# 通过坐标点击 this.coordinateClick(x,y)
通过获取的坐标进行点击(本坐标是当前点击位置在屏幕上的坐标 配和固定滑动 浏览器比例 点击获取坐标使用)
| 参数名 | 类型 | 必填 | 说明|
| --- | --- |--- | --- |
| x| string | 是 | this.getCoordinate()点击获取的参数x |
| y| string | 是 | this.getCoordinate()点击获取的参数y |
示例
```
new Bigfoot({
data: {},
async mounted() {
// 点击获得坐标
this.getCoordinate() //console.log(34,321)
this.coordinateClick(34,321)
}
})
```