1"use strict";(self.webpackChunkKatalon_Docs=self.webpackChunkKatalon_Docs||[]).push([[7561],{336:(e,c,d)=>{d.r(c),d.d(c,{assets:()=>r,contentTitle:()=>s,default:()=>l,frontMatter:()=>_,metadata:()=>a,toc:()=>i});const a=JSON.parse('{"id":"keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-enhanced-click","title":"[WebUI] Enhanced Click","description":"Note: Your Katalon Studio version must be 7.2.5+.","source":"@site/docs/katalon-studio/keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-enhanced-click.md","sourceDirName":"keywords/keyword-description-in-katalon-studio/web-ui-keywords","slug":"/keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-enhanced-click","permalink":"/katalon-studio/keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-enhanced-click","draft":false,"unlisted":false,"tags":[],"version":"current","lastUpdatedAt":1758935351000,"frontMatter":{"title":"[WebUI] Enhanced Click"},"sidebar":"katalon-studio","previous":{"title":"[WebUI] Drag And Drop To Object","permalink":"/katalon-studio/keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-drag-and-drop-to-object"},"next":{"title":"[WebUI] Execute JavaScript","permalink":"/katalon-studio/keywords/keyword-description-in-katalon-studio/web-ui-keywords/webui-execute-javascript"}}');var t=d(74848),n=d(28453);const _={title:"[WebUI] Enhanced Click"},s=void 0,r={},i=[{value:"Description",id:"description",level:2},{value:'<a class="anchor_top_offset"></a>Parameters',id:"parameters",level:2},{value:"Example",id:"example",level:2}];function o(e){const c={h2:"h2",p:"p",...(0,n.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{xmlns:"http://www.w3.org/1999/xhtml",className:"note note note_note",children:[(0,t.jsx)("span",{className:"note__title",children:"Note:"})," ",(0,t.jsxs)("p",{className:"p",children:["Your Katalon Studio version must be ",(0,t.jsx)("strong",{className:"ph b",children:"7.2.5+"}),"."]})]}),"\n",(0,t.jsxs)("div",{xmlns:"http://www.w3.org/1999/xhtml",className:"note warning note_warning",children:[(0,t.jsx)("span",{className:"note__title",children:"Warning:"})," ",(0,t.jsx)("p",{className:"p",children:"This keyword uses Javascript click as the last fallback which may not have the same effect as an actual click on an element."})]}),"\n",(0,t.jsx)(c.h2,{id:"description",children:"Description"}),"\n",(0,t.jsxs)(c.p,{children:["Click on the given element using various trial-and-error methods.\n",(0,t.jsxs)("p",{xmlns:"http://www.w3.org/1999/xhtml",className:"p",children:["Keyword name: ",(0,t.jsx)("code",{className:"ph codeph",children:"enhancedClick"})]})]}),"\n",(0,t.jsxs)(c.h2,{id:"parameters",children:[(0,t.jsx)("a",{id:"id_0__id_1",class:"anchor_top_offset"}),"Parameters"]}),"\n",(0,t.jsxs)("table",{xmlns:"http://www.w3.org/1999/xhtml",className:"table anchor_top_offset",id:"id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2",children:[(0,t.jsx)("caption",{}),(0,t.jsxs)("colgroup",{children:[(0,t.jsx)("col",{style:{width:"20%"}}),(0,t.jsx)("col",{style:{width:"20%"}}),(0,t.jsx)("col",{style:{width:"20%"}}),(0,t.jsx)("col",{style:{width:"40%"}})]}),(0,t.jsx)("thead",{className:"thead",children:(0,t.jsxs)("tr",{className:!0,children:[(0,t.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__1",children:"Parameter"}),(0,t.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__2",children:"Parameter Type"}),(0,t.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__3",children:"Required"}),(0,t.jsx)("th",{className:"entry anchor_top_offset",id:"id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__4",children:"Description"})]})}),(0,t.jsxs)("tbody",{className:"tbody",children:[(0,t.jsxs)("tr",{className:!0,children:[(0,t.jsx)("td",{className:"entry",headers:"id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__1 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__2 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__3 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__4 ",children:"to"}),(0,t.jsx)("td",{className:"entry",headers:"id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__1 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__2 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__3 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__4 ",children:"TestObject"}),(0,t.jsx)("td",{className:"entry",headers:"id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__1 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__2 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__3 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__4 ",children:"Yes"}),(0,t.jsx)("td",{className:"entry",headers:"id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__1 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__2 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__3 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__4 ",children:"An object representing a web element."})]}),(0,t.jsxs)("tr",{className:!0,children:[(0,t.jsx)("td",{className:"entry",headers:"id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__1 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__2 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__3 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__4 ",children:"flowControl"}),(0,t.jsx)("td",{className:"entry",headers:"id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__1 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__2 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__3 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__4 ",children:"FailureHandling"}),(0,t.jsx)("td",{className:"entry",headers:"id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__1 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__2 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__3 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__4 ",children:"Optional"}),(0,t.jsxs)("td",{className:"entry",headers:"id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__1 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__2 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__3 id_0__a2967d91-edfc-4552-80a3-f501b4dc4cc2__entry__4 ",children:["Specify ",(0,t.jsx)("a",{className:"xref",href:"/katalon-studio/maintain-tests/configure-failure-handling-settings-in-katalon-studio",children:"failure handling"})," schema to determine whether the execution should be allowed to continue or stop."]})]})]})]}),"\n",(0,t.jsx)(c.h2,{id:"example",children:"Example"}),"\n",(0,t.jsx)("pre",{xmlns:"http://www.w3.org/1999/xhtml",className:"pre codeblock",children:(0,t.jsxs)("code",{children:["'Open browser and navigate to demo AUT site.'","\n","WebUI.openBrowser(GlobalVariable.G_SiteURL)","\n","\n","'Click on 'Book Appointment' button'","\n","WebUI.enhancedClick(findTestObject('Page_CuraHomepage/btn_MakeAppointment'))","\n","\n","'Close browser'","\n","WebUI.closeBrowser()","\n"]})})]})}function l(e={}){const{wrapper:c}={...(0,n.R)(),...e.components};return c?(0,t.jsx)(c,{...e,children:(0,t.jsx)(o,{...e})}):o(e)}},28453:(e,c,d)=>{d.d(c,{R:()=>_,x:()=>s});var a=d(96540);const t={},n=a.createContext(t);function _(e){const c=a.useContext(n);return a.useMemo((function(){return"function"==typeof e?e(c):{...c,...e}}),[c,e])}function s(e){let c;return c=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:_(e.components),a.createElement(n.Provider,{value:c},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.