File tree Expand file tree Collapse file tree 2 files changed +14
-15
lines changed 
website_and_docs/content/documentation/webdriver/actions_api Expand file tree Collapse file tree 2 files changed +14
-15
lines changed Original file line number Diff line number Diff line change 11--- 
2- title : " Mouse actions " 
3- linkTitle : " Mouse " 
2+ title : " 鼠标操作 " 
3+ linkTitle : " 鼠标 " 
44weight : 4 
5- needsTranslation : true 
65description : > 
7-   A representation of any pointer device for interacting with a web page . 
6+   任何用于与网页进行交互的指针设备的表示形式 . 
87aliases : [ 
98" /documentation/zh-cn/support_packages/mouse_and_keyboard_actions_in_detail/" , 
109" /zh-cn/documentation/support_packages/mouse_and_keyboard_actions_in_detail/" 
Original file line number Diff line number Diff line change 11--- 
2- title : " Pen actions " 
3- linkTitle : " Pen " 
2+ title : " 触控笔操作 " 
3+ linkTitle : " 触控笔 " 
44weight : 5 
55description : > 
6-   A representation of a pen stylus kind of pointer input for interacting with a web page . 
6+   一种用于与网页交互的类似笔尖的指针输入设备的表示 . 
77--- 
88
99{{< badge-browser browser=Chromium wpt="perform_actions/pointer.py" >}}
1010
11- A Pen is a type of pointer input that has most of the same behavior as a mouse, but can 
12- also have event properties unique to a stylus. Additionally, while a mouse 
13- has  5 buttons, a pen has 3 equivalent button states :
11+ 触控笔是一种指针输入设备,其行为大多与鼠标相同, 
12+ 但也可以具有触控笔特有的事件属性。 
13+ 此外,鼠标有  5 个按钮,而触控笔有 3 种等效的按钮状态 :
1414
15- *  0 — Touch Contact (the default; equivalent to a left click) 
16- *  2 — Barrel Button (equivalent to a right click) 
17- *  5 — Eraser Button (currently unsupported by drivers) 
15+ *  0 - 触摸接触(默认设置;相当于左键单击) 
16+ *  2 - 桶形按钮/侧键(相当于右键点击) 
17+ *  5 - 橡皮擦按钮(当前驱动程序不支持) 
1818
19- ## Using a Pen  
19+ ## 使用触控笔  
2020
2121{{< tabpane text=true >}}
2222{{< tab header="Java" >}}
@@ -42,7 +42,7 @@ has 5 buttons, a pen has 3 equivalent button states:
4242{{< /tab >}}
4343{{< /tabpane >}}
4444
45- ## Adding Pointer Event Attributes  
45+ ## 添加指针事件属性  
4646
4747{{< badge-version version="4.2" >}}
4848
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments